Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fn/func.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from functools import partial, wraps
from inspect import getargspec
from inspect import getfullargspec

from .op import identity, flip

Expand Down Expand Up @@ -75,7 +75,7 @@ def _curried(*args, **kwargs):
count += len(f.args)
f = f.func

spec = getargspec(f)
spec = getfullargspec(f)

if count == len(spec.args) - len(args):
return func(*args, **kwargs)
Expand Down