diff options
-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 '' |