mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +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()
|
#? str()
|
||||||
multi_line_func(1,'')
|
multi_line_func(1,'')
|
||||||
|
|
||||||
|
# nothing after comma
|
||||||
|
def asdf(a):
|
||||||
|
return a
|
||||||
|
|
||||||
|
x = asdf(a=1,
|
||||||
|
)
|
||||||
|
#? int()
|
||||||
|
x
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# double execution
|
# double execution
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|||||||
Reference in New Issue
Block a user