Merge pull request #2487 from komoto48g/introspection-patch

Use unwrap before isbuiltin check
This commit is contained in:
Scott Talbert
2023-12-06 19:00:50 -05:00
committed by GitHub

View File

@@ -171,6 +171,7 @@ def getCallTip(command='', locals=None):
pass
tip1 = ''
argspec = ''
obj = inspect.unwrap(obj)
if inspect.isbuiltin(obj):
# Builtin functions don't have an argspec that we can get.
pass