summaryrefslogtreecommitdiffstats
path: root/Doc/library/itertools.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-06 08:57:55 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-06 08:57:55 (GMT)
commitf243dad554c6ddc9cd574d84348fd5d6728f8890 (patch)
treeed0f1355fe7febb1dd7e43b0c22776e40831befe /Doc/library/itertools.rst
parent4b05466e25b686fed9084452e88e7a8b7728a843 (diff)
downloadcpython-f243dad554c6ddc9cd574d84348fd5d6728f8890.zip
cpython-f243dad554c6ddc9cd574d84348fd5d6728f8890.tar.gz
cpython-f243dad554c6ddc9cd574d84348fd5d6728f8890.tar.bz2
Merged revisions 85008,85011,85228,85240 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k ........ r85008 | georg.brandl | 2010-09-25 15:30:03 +0200 (Sa, 25 Sep 2010) | 1 line #9944: fix typo. ........ r85011 | georg.brandl | 2010-09-25 18:56:36 +0200 (Sa, 25 Sep 2010) | 1 line #9562: slight clarification. ........ r85228 | georg.brandl | 2010-10-05 09:16:01 +0200 (Di, 05 Okt 2010) | 1 line Indent version tags properly. ........ r85240 | georg.brandl | 2010-10-06 07:08:32 +0200 (Mi, 06 Okt 2010) | 1 line #10034: import readline in longer example. ........
Diffstat (limited to 'Doc/library/itertools.rst')
-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 02b27ec..9b2aa40 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):