Xiang Zhang added the comment:
No, I mean this method you propose:
return _levelToName.get(level, (_nameToLevel.get(level, ("Level %s" % level))))
I cannot see any difference with the original code, except parentheses.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue27937>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com