1
0
forked from VimPlug/jedi

follow_statement -> eval_statement

This commit is contained in:
Dave Halter
2013-12-27 11:55:35 +01:00
parent b7958b32a3
commit eb30c3e6cf
7 changed files with 31 additions and 29 deletions

View File

@@ -52,7 +52,7 @@ def follow_param(evaluator, param):
p = Parser(param_str, None, user_position, no_docstr=True)
if p.user_stmt is None:
return []
return evaluator.follow_statement(p.user_stmt)
return evaluator.eval_statement(p.user_stmt)
return []
@@ -127,4 +127,4 @@ def find_return_types(evaluator, func):
if p.user_stmt is None:
return []
p.user_stmt.parent = func
return list(evaluator.follow_statement(p.user_stmt))
return list(evaluator.eval_statement(p.user_stmt))