diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 7099fa0..d7cb06b 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -366,7 +366,7 @@ loops that truncate the stream. The returned group is itself an iterator that shares the underlying iterable with :func:`groupby`. Because the source is shared, when the :func:`groupby` object is advanced, the previous group is no longer visible. So, if that data - is needed later, it should be stored as a list:: + are needed later, they should be stored as a list:: groups = [] uniquekeys = []