From 2dec48d1c56d6d920b86d04b9f6ac1a77ff4d301 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 22 Jan 2008 22:09:26 +0000 Subject: Improve variable name in sample code --- Doc/library/itertools.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v0.12