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

(cherry picked from commit 76e8fd7b7e)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-11-11 09:02:11 -08:00 committed by GitHub
parent b91c27d89d
commit 317dbb4433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.