Skip to content

Commit

Permalink
Merge branch 'develop' into autopep8-patches/update-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mesmith75 authored May 22, 2024
2 parents 3ea1892 + 2e42606 commit d67395a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/fill_gpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def signature(func, name=None):
Returns: a string representing its signature as would be written in code
"""
args, varargs, varkw, defaults = inspect.getargspec(func)
args, varargs, varkw, defaults, *_ = inspect.getfullargspec(func)
defaults = defaults or [] # If there are no defaults, set it to an empty list
defaults = [repr(d) for d in defaults] # Type to get a useful string representing the default

Expand Down

0 comments on commit d67395a

Please sign in to comment.