summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-09-25 13:30:03 (GMT)
committerGeorg Brandl <georg@python.org>2010-09-25 13:30:03 (GMT)
commita0fc3d37d31f26a9248ebf57c751a2480d974cec (patch)
treed9dd30db9bf5898031c10e34d7ff834948f25219 /Doc
parentaa7fbd956451b37f794eb50da9738b970a6f73cb (diff)
downloadcpython-a0fc3d37d31f26a9248ebf57c751a2480d974cec.zip
cpython-a0fc3d37d31f26a9248ebf57c751a2480d974cec.tar.gz
cpython-a0fc3d37d31f26a9248ebf57c751a2480d974cec.tar.bz2
#9944: fix typo.
Diffstat (limited to 'Doc')
-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 149c71e..c99ba06 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):