diff options
-rw-r--r-- | Doc/library/itertools.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 994a25ae5d..da3e690014 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -705,7 +705,8 @@ which incur interpreter overhead. return zip(a, b) def grouper(n, iterable, fillvalue=None): - "grouper(3, 'ABCDEFG', 'x') --> ABC DEF Gxx" + "Collect data into fixed-length chunks or blocks" + # grouper(3, 'ABCDEFG', 'x') --> ABC DEF Gxx" args = [iter(iterable)] * n return zip_longest(*args, fillvalue=fillvalue) |