1
0
forked from VimPlug/jedi

fix a problem with python3

This commit is contained in:
David Halter
2012-12-09 19:40:30 +01:00
parent a012880c0c
commit 830f50e314
3 changed files with 3 additions and 3 deletions

View File

@@ -462,7 +462,7 @@ def check_flow_information(flow, search_name, pos):
result = []
if isinstance(flow, parsing.Scope) and not result:
for ass in reversed(flow.asserts):
if ass.start_pos > pos:
if pos is None or ass.start_pos > pos:
continue
result = check_statement_information(ass, search_name)
if result: