STINNER Victor <[email protected]> added the comment:
By the way, in sorted(data, key=str.upper): str.upper is an unbound method, no? $ ./python Python 3.9.0a6+ (heads/master:d9a43e20fa, Apr 28 2020, 23:50:37) >>> type(str.upper) <class 'method_descriptor'> ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue39117> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
