Fix resolving callable arguments

This makes help operator display object definition again.
This commit is contained in:
David Strobach 2020-06-16 16:55:51 +02:00
parent ebca1e464f
commit abf836ec8f

View file

@ -356,7 +356,7 @@ class Inspector(object):
exception is suppressed.
"""
try:
hdef = oname + inspect.signature(*getargspec(obj))
hdef = oname + str(inspect.signature(obj))
return cast_unicode(hdef)
except: # pylint:disable=bare-except
return None