diff options
author | mormj <mormjb@gmail.com> | 2020-10-08 10:03:35 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2020-10-16 07:13:06 -0400 |
commit | f6d66811dc1f78e9da0d64f73c183bd8854caf20 (patch) | |
tree | a97b2340a0ec46149c91be29e76792ae66265e2e /grc/core/utils/epy_block_io.py | |
parent | 268b1d3907e76abd10a405b21549d4b11ff0765e (diff) |
grc: replace deprecated getargspec with getfullargspec to remove warning
Diffstat (limited to 'grc/core/utils/epy_block_io.py')
-rw-r--r-- | grc/core/utils/epy_block_io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/utils/epy_block_io.py b/grc/core/utils/epy_block_io.py index e946eb7bf1..58becc4f2b 100644 --- a/grc/core/utils/epy_block_io.py +++ b/grc/core/utils/epy_block_io.py @@ -52,7 +52,7 @@ def extract(cls): if not inspect.isclass(cls): cls = _find_block_class(cls, gr.gateway.gateway_block) - spec = inspect.getargspec(cls.__init__) + spec = inspect.getfullargspec(cls.__init__) init_args = spec.args[1:] defaults = [repr(arg) for arg in (spec.defaults or ())] doc = cls.__doc__ or cls.__init__.__doc__ or '' |