Unverified Commit e83fa176 authored by Louis-J's avatar Louis-J Committed by GitHub
Browse files

fix(speedup): remove the unsupported syntax in python 3.7: positional only arguments (#5084)

parent 4cf68009
......@@ -222,7 +222,7 @@ class FuncAdapter:
self.undetermined = undetermined
self.special_treat = special_treat
def __call__(self, /, *args):
def __call__(self, *args):
assert len(args) >= len(self.undetermined)
if len(args) > len(self.undetermined):
logger.warning('throw some args away when calling the function "%s"', self.func.__name__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment