From 0298df6f1afa865c771af91a6a1215966e5c9084 Mon Sep 17 00:00:00 2001 From: Eivind Fonn Date: Fri, 16 Feb 2024 15:56:49 +0100 Subject: [PATCH] Drop getargspec in favor of getfullargspec --- splipy/curve_factory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/splipy/curve_factory.py b/splipy/curve_factory.py index d68f518..d26e14f 100644 --- a/splipy/curve_factory.py +++ b/splipy/curve_factory.py @@ -600,7 +600,7 @@ def move_3_to_right_fast(x, v): if vectorized: x = crv(t) - arg_names = inspect.getargspec(f).args + arg_names = inspect.getfullargspec(f).args argc = len(arg_names) argv = [0] * argc for j in range(argc): @@ -630,7 +630,7 @@ def move_3_to_right_fast(x, v): destination = np.zeros((len(crv), crv.dimension)) for t1, i in zip(t, range(len(t))): x = crv(t1) - arg_names = inspect.getargspec(f).args + arg_names = inspect.getfullargspec(f).args argc = len(arg_names) argv = [0] * argc for j in range(argc):