]> granicus.if.org Git - python/commitdiff
#9944: fix typo.
authorGeorg Brandl <georg@python.org>
Sat, 25 Sep 2010 13:30:03 +0000 (13:30 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 25 Sep 2010 13:30:03 +0000 (13:30 +0000)
Doc/library/itertools.rst

index 149c71e32d1de957ec4a39a5fa63a747d1e0b007..c99ba060acf5e2413e9bb8f2d4dee24afbda808e 100644 (file)
@@ -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):