Skip to content

Commit b936349

Browse files
committed
-
1 parent bf85c5c commit b936349

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python_toolbox/sleek_reffing/sleek_call_args.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,9 @@ def __init__(self, containing_dict, function, *args, **kwargs):
5252
'''
5353

5454
args_spec = inspect.getfullargspec(function)
55-
star_args_name, star_kwargs_name = \
56-
args_spec.varargs, args_spec.keywords
55+
star_args_name, star_kwargs_name = args_spec.varargs, args_spec.varkw
5756

58-
call_args = inspect.getfullargspec(function, *args, **kwargs)
57+
call_args = inspect.getcallargs(function, *args, **kwargs)
5958
del args, kwargs
6059

6160
self.star_args_refs = []

0 commit comments

Comments
 (0)