diff options
author | Éric Araujo <merwok@netwok.org> | 2011-08-19 01:19:36 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-08-19 01:19:36 (GMT) |
commit | 24d6cc6f4f9872a486d47355e577d1bf3e033415 (patch) | |
tree | 3b8f3acd8498aea2df299cbadad48296b1f11ab3 /Doc/library/collections.rst | |
parent | 50e516aa8e981b767398dd0a0d42cb726bb35975 (diff) | |
parent | a2d26182e28e99a66d9ed128f429d17ea53d48ae (diff) | |
download | cpython-24d6cc6f4f9872a486d47355e577d1bf3e033415.zip cpython-24d6cc6f4f9872a486d47355e577d1bf3e033415.tar.gz cpython-24d6cc6f4f9872a486d47355e577d1bf3e033415.tar.bz2 |
Merge 3.2
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r-- | Doc/library/collections.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 14ccffb..768519e 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -1,4 +1,3 @@ - :mod:`collections` --- Container datatypes ========================================== @@ -977,7 +976,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): |