[issue22823] Use set literals instead of creating a set from a list
STINNER Victor
report at bugs.python.org
Thu Dec 11 09:46:28 CET 2014
STINNER Victor added the comment:
> Here is a patch for lib2to3.
In Python 3.5, I still found some "set([" and "frozenset([" in Lib/lib2to3, Lib/test/, Lib/stringrep.py, Lib/unittest/test/ and Lib/idlelib/CodeContext.py if someone is motived to patch them. (Ok, Serhiy wrote a patch for lib2to3.)
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22823>
_______________________________________
More information about the Python-bugs-list
mailing list