improved goto on assignees (just return the assignee).

This commit is contained in:
David Halter committed 2012-12-26 20:53:15 +01:00
1 parent e020c6b792
commit 3bf0ec70fc
5 files changed
+32 -15

No files matched your search

+2
View File
@@ -1537,6 +1537,8 @@ def goto(stmt, call_path=None):
scope = stmt.parent
pos = stmt.start_pos
call_path, search = call_path[:-1], call_path[-1]
pos = pos[0], pos[1]+1
if call_path:
scopes = follow_call_path(iter(call_path), scope, pos)
search_global = False