Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
I think that inspect.signature() could be made more smart. It should take into account signatures of both __new__ and __init__ and return the most specific compatible signature. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40897> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com