Yury Selivanov added the comment: In this case it would probably be best to just special case classes that don't have __init__ or __new__ defined to return an empty signature without parameters.
I can also make a special case for object.__init__ and object.__new__ functions, if someone would want to introspect them directly. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20308> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com