Louie Lu added the comment: And, another case, the __text_signature__ and i.signature() is similar, but not the same:
>>> range.__init__.__text_signature__ '($self, /, *args, **kwargs)' ^ >>> str(i.signature(range.__init__)) '(self, /, *args, **kwargs)' So we can't simply compare-and-eliminate this case. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19903> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com