mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
multi line funcs with comments don't raise an error anymore - fixes jedi-vim issue 29
This commit is contained in:
@@ -38,6 +38,14 @@ def variable_rename(param):
|
||||
#? int()
|
||||
variable_rename(1)
|
||||
|
||||
def multi_line_func(a, # comment blabla
|
||||
|
||||
b):
|
||||
return b
|
||||
|
||||
#? str()
|
||||
multi_line_func(1,'')
|
||||
|
||||
# -----------------
|
||||
# double execution
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user