[issue2965] Update interface of weakref dictionaries
Antoine Pitrou
report at bugs.python.org
Thu Jul 31 10:38:52 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
By the way, code like:
items1 = list(dict.items())
items1.sort()
could be simplified into:
items1 = sorted(dict.items())
(same for reversed() instead of list.reverse())
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2965>
_______________________________________
More information about the Python-bugs-list
mailing list