Fix-up recipe with a syntax error (as discussed on python-dev).
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index 7186443..3320d99 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -565,7 +565,8 @@
def grouper(n, iterable, fillvalue=None):
"grouper(3, 'ABCDEFG', 'x') --> ABC DEF Gxx"
args = [iter(iterable)] * n
- return zip_longest(*args, fillvalue=fillvalue)
+ kwds = dict(fillvalue=fillvalue)
+ return zip_longest(*args, **kwds)
def roundrobin(*iterables):
"roundrobin('ABC', 'D', 'EF') --> A D E B F C"