diff options
author | Éric Araujo <merwok@netwok.org> | 2011-08-18 22:40:46 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-08-18 22:40:46 (GMT) |
commit | 889a7dcb3a113508b9e0298dda5ba3ee6cfc2808 (patch) | |
tree | 3d47db87c90584e60e9ac2a2e6d7a7eeea0195cd /Doc/library/collections.rst | |
parent | 6e7d0ba309757421905f4df4ca4f752680c1df53 (diff) | |
download | cpython-889a7dcb3a113508b9e0298dda5ba3ee6cfc2808.zip cpython-889a7dcb3a113508b9e0298dda5ba3ee6cfc2808.tar.gz cpython-889a7dcb3a113508b9e0298dda5ba3ee6cfc2808.tar.bz2 |
Fix a typo and touch up blank lines
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r-- | Doc/library/collections.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 4975f74..bf1fe2c 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 |