This commit is contained in:
Raymond Hettinger 2003-10-24 01:29:14 +00:00
parent 216bc1e95d
commit 068cdefc0d
1 changed files with 1 additions and 1 deletions

View File

@ -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