summaryrefslogtreecommitdiff
path: root/Doc/library/collections.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-05-25 18:06:35 +0200
committerÉric Araujo <merwok@netwok.org>2011-05-25 18:06:35 +0200
commitde32c4b97caa7e4b70b81c18da3fa693bebb952d (patch)
treeb771908fe89fc117032c503fa3e37c5f893bdb75 /Doc/library/collections.rst
parent1c814933dad1bea8eff9fbb8c39064d6de379a8d (diff)
parent3db5f1d86143ce3b24f187b170b19fe639af000c (diff)
downloadcpython-de32c4b97caa7e4b70b81c18da3fa693bebb952d.tar.gz
Branch merge
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r--Doc/library/collections.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 88c4f0f9ee..53e5ff96f8 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -862,10 +862,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))