forked from VimPlug/jedi
fix last remaining bugs of the big evaluate_representation refactoring
This commit is contained in:
@@ -101,7 +101,7 @@ def find_return_types(func):
|
||||
|
||||
p = parsing.Parser(type_str, None, (1, 0), no_docstr=True)
|
||||
p.user_stmt.parent = func
|
||||
return list(er.follow_statement(p.user_stmt))
|
||||
return list(evaluate.follow_statement(p.user_stmt))
|
||||
|
||||
def search_return_in_docstr(code):
|
||||
for p in DOCSTRING_RETURN_PATTERNS:
|
||||
|
||||
@@ -12,7 +12,7 @@ sys.path.append(sys.path[1] + '/thirdparty')
|
||||
# syntax err
|
||||
sys.path.append('a' +* '/thirdparty')
|
||||
|
||||
#? ['evaluate']
|
||||
#? ['evaluate', 'evaluate_representation']
|
||||
import evaluate
|
||||
|
||||
#? ['goto']
|
||||
|
||||
Reference in New Issue
Block a user