fix last remaining bugs of the big evaluate_representation refactoring

This commit is contained in:
David Halter
2013-02-05 17:21:23 +01:00
parent e6352ae0a2
commit 3c1ebc02cc
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ def find_return_types(func):
p = parsing.Parser(type_str, None, (1, 0), no_docstr=True) p = parsing.Parser(type_str, None, (1, 0), no_docstr=True)
p.user_stmt.parent = func 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): def search_return_in_docstr(code):
for p in DOCSTRING_RETURN_PATTERNS: for p in DOCSTRING_RETURN_PATTERNS:

View File

@@ -12,7 +12,7 @@ sys.path.append(sys.path[1] + '/thirdparty')
# syntax err # syntax err
sys.path.append('a' +* '/thirdparty') sys.path.append('a' +* '/thirdparty')
#? ['evaluate'] #? ['evaluate', 'evaluate_representation']
import evaluate import evaluate
#? ['goto'] #? ['goto']