summaryrefslogtreecommitdiff
path: root/grc/core/utils/epy_block_io.py
diff options
context:
space:
mode:
authormormj <mormjb@gmail.com>2020-10-08 10:03:35 -0400
committermormj <34754695+mormj@users.noreply.github.com>2020-10-16 07:13:06 -0400
commitf6d66811dc1f78e9da0d64f73c183bd8854caf20 (patch)
treea97b2340a0ec46149c91be29e76792ae66265e2e /grc/core/utils/epy_block_io.py
parent268b1d3907e76abd10a405b21549d4b11ff0765e (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.py2
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 ''