summaryrefslogtreecommitdiffstats
path: root/Doc/library/itertools.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-11-22 03:09:19 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-11-22 03:09:19 (GMT)
commit28053fb174cd548629b8c94cba02ce837aeb9e5b (patch)
treeb5450a4b4e121f3a9b649aa4f6e00a4dcbde88bf /Doc/library/itertools.rst
parentd4bbab278fc5021f5adbf4ae336e2754ca2037b3 (diff)
downloadcpython-28053fb174cd548629b8c94cba02ce837aeb9e5b.zip
cpython-28053fb174cd548629b8c94cba02ce837aeb9e5b.tar.gz
cpython-28053fb174cd548629b8c94cba02ce837aeb9e5b.tar.bz2
Remove unnecessary `object` base class in docs (#10366).
Also add a note about inheritance from `object` being default.
Diffstat (limited to 'Doc/library/itertools.rst')
-rw-r--r--Doc/library/itertools.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index f66b0c9..f612a1c 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -322,7 +322,7 @@ loops that truncate the stream.
:func:`groupby` is equivalent to::
- class groupby(object):
+ class groupby:
# [k for k, g in groupby('AAAABBBCCDAABBB')] --> A B C D A B
# [list(g) for k, g in groupby('AAAABBBCCD')] --> AAAA BBB CC D
def __init__(self, iterable, key=None):