mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-22 05:11:25 +08:00
deletion of returns from SCOPE_CONTENTS was wrong.
This commit is contained in:
@@ -46,7 +46,7 @@ from jedi import cache
|
|||||||
from jedi.parser import tokenize
|
from jedi.parser import tokenize
|
||||||
|
|
||||||
|
|
||||||
SCOPE_CONTENTS = 'asserts', 'subscopes', 'imports', 'statements'
|
SCOPE_CONTENTS = 'asserts', 'subscopes', 'imports', 'statements', 'returns'
|
||||||
|
|
||||||
|
|
||||||
def filter_after_position(names, position):
|
def filter_after_position(names, position):
|
||||||
|
|||||||
Reference in New Issue
Block a user