forked from VimPlug/jedi
Get param parsing right.
This commit is contained in:
@@ -769,11 +769,11 @@ class Function(ClassOrFunc):
|
|||||||
stars = 0
|
stars = 0
|
||||||
if n in ('*', '**'):
|
if n in ('*', '**'):
|
||||||
stars = len(n.value)
|
stars = len(n.value)
|
||||||
n = next(iterator, None)
|
n = next(iterator)
|
||||||
|
|
||||||
op = next(iterator, None)
|
op = next(iterator, None)
|
||||||
if op == '=':
|
if op == '=':
|
||||||
default = op
|
default = next(iterator)
|
||||||
next(iterator, None)
|
next(iterator, None)
|
||||||
else:
|
else:
|
||||||
default = None
|
default = None
|
||||||
|
|||||||
Reference in New Issue
Block a user