mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Merge pull request #2487 from komoto48g/introspection-patch
Use unwrap before isbuiltin check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user