diff --git a/wx/py/introspect.py b/wx/py/introspect.py index 0c809672..80a89599 100644 --- a/wx/py/introspect.py +++ b/wx/py/introspect.py @@ -175,7 +175,7 @@ def getCallTip(command='', locals=None): pass elif inspect.isfunction(obj): # tip1 is a string like: "getCallTip(command='', locals=None)" - argspec = inspect.getargspec(obj) + argspec = inspect.getargspec(obj) if not PY3 else inspect.getfullargspec(obj) argspec = inspect.formatargspec(*argspec) if dropSelf: # The first parameter to a method is a reference to an