Alter recipe to show how to call izip_longest() with
both a keyword argument and star arguments.
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index 6bda2cf..db38e69 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -647,8 +647,7 @@
def grouper(n, iterable, fillvalue=None):
"grouper(3, 'ABCDEFG', 'x') --> ABC DEF Gxx"
args = [iter(iterable)] * n
- kwds = dict(fillvalue=fillvalue)
- return izip_longest(*args, **kwds)
+ return izip_longest(fillvalue=fillvalue, *args)
def roundrobin(*iterables):
"roundrobin('ABC', 'D', 'EF') --> A D E B F C"