commit | a0fc3d37d31f26a9248ebf57c751a2480d974cec | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sat Sep 25 13:30:03 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Sat Sep 25 13:30:03 2010 +0000 |
tree | d9dd30db9bf5898031c10e34d7ff834948f25219 | |
parent | aa7fbd956451b37f794eb50da9738b970a6f73cb [diff] |
#9944: fix typo.
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 @@ # 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):