From: Éric Araujo Date: Thu, 18 Aug 2011 22:40:46 +0000 (+0200) Subject: Fix a typo and touch up blank lines X-Git-Tag: v3.2.3rc1~641^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=889a7dcb3a113508b9e0298dda5ba3ee6cfc2808;p=thirdparty%2FPython%2Fcpython.git Fix a typo and touch up blank lines --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 4975f7477065..bf1fe2c6c0b7 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -1,4 +1,3 @@ - :mod:`collections` --- Container datatypes ========================================== @@ -886,7 +885,7 @@ original insertion position is changed and moved to the end:: del self[key] OrderedDict.__setitem__(self, key, value) -An ordered dictionary can combined with the :class:`Counter` class +An ordered dictionary can be combined with the :class:`Counter` class so that the counter remembers the order elements are first encountered:: class OrderedCounter(Counter, OrderedDict): @@ -985,6 +984,7 @@ attribute. subclass) or an arbitrary sequence which can be converted into a string using the built-in :func:`str` function. + .. _collections-abstract-base-classes: ABCs - abstract base classes