Commit 75b4cb88 authored by Sven Brauch's avatar Sven Brauch
Browse files

introspect script: use getfullargspec instead of getargspec

parent df74eaef
......@@ -409,7 +409,7 @@ class FunctionDumper:
def dump(self):
arguments = inspect.getargspec(self.function)
arguments = inspect.getfullargspec(self.function)
arglist = list()
for index, argument in enumerate(arguments.args):
if len(arguments.args) - index - 1 > len(arguments.defaults):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment