[issue32770] collections.counter examples are misleading

Anthony Flury report at bugs.python.org
Tue Feb 6 02:20:23 EST 2018


Anthony Flury <anthony.flury at btinternet.com> added the comment:

Cheryl : 
When you iterate around a counter instance it does return keys in the order they are first encountered/inserted - so I agree with you that it is an ordered collection from Python 3.7 onwards (although the iteration and the repr are ordered in different orders.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32770>
_______________________________________


More information about the Python-bugs-list mailing list