mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-15 14:42:35 +08:00
fix for #51
This commit is contained in:
1 parent
1fa0230339
commit
948b72d27f
2 files changed
+7
-1
No files matched your search
+2
-1
@@ -802,7 +802,8 @@ class Statement(Simple):
|
||||
while is_call_or_close():
|
||||
result = result.parent()
|
||||
close_brackets = False
|
||||
result.add_to_current_field(tok)
|
||||
if tok != '\n':
|
||||
result.add_to_current_field(tok)
|
||||
|
||||
if level != 0:
|
||||
debug.warning("Brackets don't match: %s."
|
||||
|
||||
@@ -188,6 +188,11 @@ exe['b']
|
||||
#? int() float()
|
||||
exe['c']
|
||||
|
||||
exe2 = kwargs_func(**{a:3,
|
||||
b:4.0})
|
||||
#? int()
|
||||
exe2['a']
|
||||
|
||||
# -----------------
|
||||
# *args / ** kwargs
|
||||
# -----------------
|
||||
|
||||
Reference in new issue
Block a user