Get param parsing right.
This commit is contained in:
1 parent
22cb3ca5f0
commit
97a102bd24
1 file changed
+2
-2
@@ -769,11 +769,11 @@ class Function(ClassOrFunc):
|
||||
stars = 0
|
||||
if n in ('*', '**'):
|
||||
stars = len(n.value)
|
||||
n = next(iterator, None)
|
||||
n = next(iterator)
|
||||
|
||||
op = next(iterator, None)
|
||||
if op == '=':
|
||||
default = op
|
||||
default = next(iterator)
|
||||
next(iterator, None)
|
||||
else:
|
||||
default = None
|
||||
|
||||
Reference in new issue
Block a user