diff options
author | Raymond Hettinger <python@rcn.com> | 2011-05-21 16:33:45 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-05-21 16:33:45 (GMT) |
commit | f9ca76f50027e004ced91ac46578596747ce375f (patch) | |
tree | 1338e2a13af6655281a9a601f52be72773d449a6 /Doc/library | |
parent | d0793670440f8cf03661597da04062159728d335 (diff) | |
download | cpython-f9ca76f50027e004ced91ac46578596747ce375f.zip cpython-f9ca76f50027e004ced91ac46578596747ce375f.tar.gz cpython-f9ca76f50027e004ced91ac46578596747ce375f.tar.bz2 |
Simplify example
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/collections.rst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index d29bc17..f3b068c 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -889,10 +889,6 @@ so that the counter remembers the order elements are first encountered:: class OrderedCounter(Counter, OrderedDict): 'Counter that remembers the order elements are first encountered' - def __init__(self, iterable=None, **kwds): - OrderedDict.__init__(self) - Counter.__init__(self, iterable, **kwds) - def __repr__(self): return '%s(%r)' % (self.__class__.__name__, OrderedDict(self)) |