Fix typo
This commit is contained in:
parent
216bc1e95d
commit
068cdefc0d
|
@ -132,7 +132,7 @@ semantic and syntactic specification.)
|
|||
|
||||
and also::
|
||||
|
||||
g = (x**2 for i in range(10))
|
||||
g = (x**2 for x in range(10))
|
||||
|
||||
i.e. if a function call has a single positional argument, it can be
|
||||
a generator expression without extra parentheses, but in all other
|
||||
|
|
Loading…
Reference in New Issue