summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2012-07-03 05:13:40 (GMT)
committerÉric Araujo <merwok@netwok.org>2012-07-03 05:13:40 (GMT)
commit9e06e37be0afb8503da29c72b19179e3da25fb87 (patch)
tree38b842224d2857b54d6982961e10e8a4fef3a07e
parent3cf202e9578cef4429254641599e8f6be6540309 (diff)
parente16c8825845ffafd8d1a2aebd9f0103127a9be2d (diff)
downloadcpython-9e06e37be0afb8503da29c72b19179e3da25fb87.zip
cpython-9e06e37be0afb8503da29c72b19179e3da25fb87.tar.gz
cpython-9e06e37be0afb8503da29c72b19179e3da25fb87.tar.bz2
Branch merge
-rw-r--r--Doc/library/itertools.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index a553d09..36aaa7b 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -733,7 +733,8 @@ which incur interpreter overhead.
return izip(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 izip_longest(fillvalue=fillvalue, *args)