1
0
forked from VimPlug/jedi

Fix another comment extraction issue

This commit is contained in:
Dave Halter
2020-02-26 00:17:44 +01:00
parent b65c1c26aa
commit 17892556f8
2 changed files with 38 additions and 1 deletions

View File

@@ -242,3 +242,36 @@ def x(v1):
x, y = a(v1, v2, v3)
#bar
return x, y
# -------------------------------------------------- with-range-func-2
import os
# comment1
@dec
# comment2
def x(v1):
#? 2 text {'new_name': 'a', 'until_line': 11, 'until_column': 0}
#foo
v2 = 2
if 1:
x, y = os.listdir(v1 + v2 * v3)
#bar
return y
x
# ++++++++++++++++++++++++++++++++++++++++++++++++++
import os
# comment1
def a(v1, v2, v3):
#foo
v2 = 2
if 1:
x, y = os.listdir(v1 + v2 * v3)
#bar
return y
@dec
# comment2
def x(v1):
#? 2 text {'new_name': 'a', 'until_line': 11, 'until_column': 0}
y = a(v1, v2, v3)
return y
x