---
src/graph_tool/decorators.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/graph_tool/decorators.py b/src/graph_tool/decorators.py
index 651fe9e5..02a768d2 100644
--- a/src/graph_tool/decorators.py
+++ b/src/graph_tool/decorators.py
@@ -52,7 +52,7 @@ else:
also preserves the function's argument signature. This uses eval, and
is
thus a bit of a hack, but there no better way I know of to do this."""
def decorate(f):
- argspec = inspect.getargspec(func)
+ argspec = inspect.getfullargspec(func)
___wrap_defaults = defaults = argspec[-1]
if defaults is not None:
def_string = ["___wrap_defaults[%d]" % d for
--
2.26.0
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool