From a0fc3d37d31f26a9248ebf57c751a2480d974cec Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 25 Sep 2010 13:30:03 +0000 Subject: [PATCH] #9944: fix typo. --- 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 149c71e32d1..c99ba060acf 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -592,7 +592,7 @@ which incur interpreter overhead. # feed the entire iterator into a zero-length deque collections.deque(iterator, maxlen=0) else: - # advance to the emtpy slice starting at position n + # advance to the empty slice starting at position n next(islice(iterator, n, n), None) def nth(iterable, n, default=None):