1
0
forked from VimPlug/jedi

Get param parsing right.

This commit is contained in:
Dave Halter
2014-10-25 12:02:54 +02:00
parent 22cb3ca5f0
commit 97a102bd24

View File

@@ -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