From 89cc452f4b37883b58e8d68b3fca022fcf701cd4 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 21 May 2011 09:37:36 -0700 Subject: Simplify example --- Doc/library/collections.rst | 4 ---- 1 file changed, 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)) -- cgit v0.12