fix the named param issue in the autocompletion
This commit is contained in:
1 parent
34488d1bb6
commit
2b091076c1
4 files changed
+16
-5
No files matched your search
@@ -163,7 +163,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.
|
||||
completions.append((p._definition.get_name(), p))
|
||||
if p._definition.stars == 0: # no *args/**kwargs
|
||||
completions.append((p._definition.get_name(), p))
|
||||
|
||||
if not path and not isinstance(user_stmt, pr.Import):
|
||||
# add keywords
|
||||
|
||||
Reference in new issue
Block a user