1
0
forked from VimPlug/jedi

Fix named param issues.

This commit is contained in:
Dave Halter
2014-09-26 11:52:26 +02:00
parent 47c4369d28
commit 4eaee09d6e

View File

@@ -167,8 +167,8 @@ class Script(object):
# Allow access on _definition here, because it's a
# public API and we don't want to make the internal
# Name object public.
if p._name.get_definition().stars == 0: # no *args/**kwargs
completions.append((p._name.parent, p))
if p._definition.stars == 0: # no *args/**kwargs
completions.append((p._name, p._name))
if not path and not isinstance(user_stmt, pr.Import):
# add keywords