Commit 76e8fd7b authored by Andrés Delfino's avatar Andrés Delfino Committed by Miss Islington (bot)

dict insertion order is guaranteed since 3.7 (GH-10431)

parent 50ff02b4
...@@ -225,7 +225,7 @@ For example:: ...@@ -225,7 +225,7 @@ For example::
.. class:: Counter([iterable-or-mapping]) .. class:: Counter([iterable-or-mapping])
A :class:`Counter` is a :class:`dict` subclass for counting hashable objects. 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 and their counts are stored as dictionary values. Counts are allowed to be
any integer value including zero or negative counts. The :class:`Counter` any integer value including zero or negative counts. The :class:`Counter`
class is similar to bags or multisets in other languages. class is similar to bags or multisets in other languages.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment