Skip to content

Commit

Permalink
Drop getargspec in favor of getfullargspec
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBB committed Feb 16, 2024
1 parent 6f26736 commit 0298df6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions splipy/curve_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 0298df6

Please sign in to comment.