summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-01-22 22:09:26 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-01-22 22:09:26 (GMT)
commit2dec48d1c56d6d920b86d04b9f6ac1a77ff4d301 (patch)
tree8b99ac929eb808cd4f1e82d253d9b9540ab9943e /Doc
parent9ed5b57fe21fe4c853a18c905071c3314cdd6492 (diff)
downloadcpython-2dec48d1c56d6d920b86d04b9f6ac1a77ff4d301.zip
cpython-2dec48d1c56d6d920b86d04b9f6ac1a77ff4d301.tar.gz
cpython-2dec48d1c56d6d920b86d04b9f6ac1a77ff4d301.tar.bz2
Improve variable name in sample code
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/itertools.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index 419e8e5..05f1874 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -218,7 +218,7 @@ loops that truncate the stream.
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: