mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-11 23:30:12 +08:00
Fix keyword argument completion, fixes #1856
This commit is contained in:
1 parent
b0d5fc2bd0
commit
3a30008cc4
2 files changed
+16
-1
No files matched your search
+1
-1
@@ -280,7 +280,7 @@ class CallDetails:
|
||||
def count_positional_arguments(self):
|
||||
count = 0
|
||||
for star_count, key_start, had_equal in self._list_arguments()[:-1]:
|
||||
if star_count:
|
||||
if star_count or key_start:
|
||||
break
|
||||
count += 1
|
||||
return count
|
||||
|
||||
Reference in new issue
Block a user