diff options
author | Raymond Hettinger <python@rcn.com> | 2011-05-21 16:39:57 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-05-21 16:39:57 (GMT) |
commit | 691a659ddb5c7b70eb99fc5a6b4373d92685edd4 (patch) | |
tree | 806f2ed94c26c696c1f7c34707b98154598d9062 /Doc | |
parent | f58f1c33c115a4f9dfb8ff2b753241d08f46aace (diff) | |
download | cpython-691a659ddb5c7b70eb99fc5a6b4373d92685edd4.zip cpython-691a659ddb5c7b70eb99fc5a6b4373d92685edd4.tar.gz cpython-691a659ddb5c7b70eb99fc5a6b4373d92685edd4.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 88c4f0f..53e5ff9 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)) |