diff options
author | Raymond Hettinger <python@rcn.com> | 2011-05-21 16:37:36 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-05-21 16:37:36 (GMT) |
commit | 89cc452f4b37883b58e8d68b3fca022fcf701cd4 (patch) | |
tree | da9c9164596c5bce0950991810af054886f10fc7 /Doc | |
parent | 39e3528bb2f203ad3a32b4e5f7185056dccb778b (diff) | |
download | cpython-89cc452f4b37883b58e8d68b3fca022fcf701cd4.zip cpython-89cc452f4b37883b58e8d68b3fca022fcf701cd4.tar.gz cpython-89cc452f4b37883b58e8d68b3fca022fcf701cd4.tar.bz2 |
Simplify example
Diffstat (limited to 'Doc')
-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 6039a15..f54af32 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -971,10 +971,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)) |