diff options
author | Andrés Delfino <adelfino@gmail.com> | 2018-11-11 16:56:47 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-11-11 16:56:47 (GMT) |
commit | 76e8fd7b7ee0b3d18e7df960a2f7d5c3fad5f15d (patch) | |
tree | 38aeb81a1984bd88f3b287721a65b2b0b16de6a4 /Doc | |
parent | 50ff02b43145f33f8e28ffbfcc6a9d15c4749a64 (diff) | |
download | cpython-76e8fd7b7ee0b3d18e7df960a2f7d5c3fad5f15d.zip cpython-76e8fd7b7ee0b3d18e7df960a2f7d5c3fad5f15d.tar.gz cpython-76e8fd7b7ee0b3d18e7df960a2f7d5c3fad5f15d.tar.bz2 |
dict insertion order is guaranteed since 3.7 (GH-10431)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/collections.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 6b9d85a..bfbf8a7 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -225,7 +225,7 @@ For example:: .. class:: Counter([iterable-or-mapping]) A :class:`Counter` is a :class:`dict` subclass for counting hashable objects. - It is an unordered collection where elements are stored as dictionary keys + It is a collection where elements are stored as dictionary keys and their counts are stored as dictionary values. Counts are allowed to be any integer value including zero or negative counts. The :class:`Counter` class is similar to bags or multisets in other languages. |