mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
test for empty statement problem in function call
This commit is contained in:
@@ -46,6 +46,15 @@ def multi_line_func(a, # comment blabla
|
||||
#? str()
|
||||
multi_line_func(1,'')
|
||||
|
||||
# nothing after comma
|
||||
def asdf(a):
|
||||
return a
|
||||
|
||||
x = asdf(a=1,
|
||||
)
|
||||
#? int()
|
||||
x
|
||||
|
||||
# -----------------
|
||||
# double execution
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user