[Python-checkins] r60204 - python/trunk/Doc/library/itertools.rst

raymond.hettinger python-checkins at python.org
Tue Jan 22 23:09:26 CET 2008


Author: raymond.hettinger
Date: Tue Jan 22 23:09:26 2008
New Revision: 60204
Modified:
 python/trunk/Doc/library/itertools.rst
Log:
Improve variable name in sample code
Modified: python/trunk/Doc/library/itertools.rst
==============================================================================
--- python/trunk/Doc/library/itertools.rst	(original)
+++ python/trunk/Doc/library/itertools.rst	Tue Jan 22 23:09:26 2008
@@ -218,7 +218,7 @@
 def imap(function, *iterables):
 iterables = map(iter, iterables)
 while True:
- args = [i.next() for i in iterables]
+ args = [it.next() for it in iterables]
 if function is None:
 yield tuple(args)
 else:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /