[issue22823] Use set literals instead of creating a set from a list

Raymond Hettinger report at bugs.python.org
Sat Nov 15 23:32:08 CET 2014


Raymond Hettinger added the comment:

IMO, the _non_defaults set comprehension in mock.py ought to be replaced with a set of internable string constants.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22823>
_______________________________________


More information about the Python-bugs-list mailing list