From: Georg Brandl Date: Sat, 25 Sep 2010 13:30:03 +0000 (+0000) Subject: #9944: fix typo. X-Git-Tag: v3.2a3~142 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0fc3d37d31f26a9248ebf57c751a2480d974cec;p=thirdparty%2FPython%2Fcpython.git #9944: fix typo. --- diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 149c71e32d1d..c99ba060acf5 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):