mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
Fix resolving callable arguments
This makes help operator display object definition again.
This commit is contained in:
parent
ebca1e464f
commit
abf836ec8f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue