mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-05 18:47:40 +08:00
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:
|
||||
|
||||
Reference in New Issue
Block a user