commit | 2dec48d1c56d6d920b86d04b9f6ac1a77ff4d301 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue Jan 22 22:09:26 2008 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Tue Jan 22 22:09:26 2008 +0000 |
tree | 8b99ac929eb808cd4f1e82d253d9b9540ab9943e | |
parent | 9ed5b57fe21fe4c853a18c905071c3314cdd6492 [diff] [blame] |
Improve variable name in sample code
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 @@ 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: