From: Andrés Delfino Date: Sun, 11 Nov 2018 16:56:47 +0000 (-0300) Subject: dict insertion order is guaranteed since 3.7 (GH-10431) X-Git-Tag: v3.8.0a1~525 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76e8fd7b7ee0b3d18e7df960a2f7d5c3fad5f15d;p=thirdparty%2FPython%2Fcpython.git dict insertion order is guaranteed since 3.7 (GH-10431) --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 6b9d85abaae7..bfbf8a7ecc07 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.