Typo fixes

This commit is contained in:
Andrew M. Kuchling 2004-07-03 22:26:41 +00:00
parent ab9b144a7d
commit 469498ea6e
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ is no longer needed, delete the list::
sum([x*x for x in range(10)])
Memory is conserved by using an generator expession instead::
Memory is conserved by using a generator expession instead::
sum(x*x for x in range(10))
@ -162,7 +162,7 @@ semantic and syntactic specification.)
3. The loop variable (if it is a simple variable or a tuple of simple
variables) is not exposed to the surrounding function. This
facilates the implementation and makes typical use cases more
facilitates the implementation and makes typical use cases more
reliable. In some future version of Python, list comprehensions
will also hide the induction variable from the surrounding code
(and, in Py2.4, warnings will be issued for code accessing the