]> granicus.if.org Git - python/commit
Added a tutorial note and example regarding the scope of loop variables
authorRaymond Hettinger <python@rcn.com>
Fri, 6 Sep 2002 18:06:04 +0000 (18:06 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 6 Sep 2002 18:06:04 +0000 (18:06 +0000)
commit44c42b9cf33fac19ef0785ba3be9fc05f0be4dec
tree4320f1499512c0ddfcabcd824d78ee9aedb9f03a
parent9ab7dd4d5b616cd9486d3a73a5e8320f8c913a1a
Added a tutorial note and example regarding the scope of loop variables
in a list comprehension.  Includes a justification and a comparision
to regular for-loops.

Closes SF bug 605047.
Doc/tut/tut.tex