diff options
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) |
commit | 28053fb174cd548629b8c94cba02ce837aeb9e5b (patch) | |
tree | b5450a4b4e121f3a9b649aa4f6e00a4dcbde88bf /Doc/library/itertools.rst | |
parent | d4bbab278fc5021f5adbf4ae336e2754ca2037b3 (diff) | |
download | cpython-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.rst | 2 |
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): |