Since Python 3.0, inspect.getargspec has been deprecated in
favor of inspect.getfullargspec. Both are namedtuples which
provide the args attribute, so it's a drop-in replacement for
this project's needs.
Use a try/catch AttributeError to preserve Python 2 compatibility.
Since Python 3.0,
inspect.getargspec
has been deprecated in favor ofinspect.getfullargspec
. Both arenamedtuple
s which provide theargs
attribute, so it's a drop-in replacement for this project's needs.Use a try/catch
AttributeError
to preserve Python 2 compatibility.Fixes #19.