[issue32127] tutorial on dictionaries has error in example

Toby Berla report at bugs.python.org
Fri Nov 24 14:25:53 EST 2017


Toby Berla <toby.berla at gmail.com> added the comment:

Thanks, Eric. (I'm new to Python.) Perhaps I should have paid closer attention to the description of the dictionary data structure -- 

"Performing list(d.keys()) on a dictionary returns a list of all the keys used in the dictionary, in arbitrary order"

-- rather than just jumping ahead to the code example. ;-)

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list