Skip to content

Commit

Permalink
Fix pypy3 build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Nov 12, 2016
1 parent b20260d commit 0f87321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celery/utils/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def fun_takes_argument(name, fun, position=None):
)


if IS_PY3:
if hasattr(inspect, 'signature'):
def fun_accepts_kwargs(fun):
"""Return true if function accepts arbitrary keyword arguments."""
return any(
Expand Down

0 comments on commit 0f87321

Please sign in to comment.