This commit is contained in:
George Yoshida 2006-05-06 13:30:38 +00:00
parent 413017574b
commit 36abb0678f
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ is no longer needed, delete the list::
sum([x*x for x in range(10)]) sum([x*x for x in range(10)])
Memory is conserved by using a generator expession instead:: Memory is conserved by using a generator expression instead::
sum(x*x for x in range(10)) sum(x*x for x in range(10))