1
0
forked from VimPlug/jedi

Start removing the print statements that were used for debugging.

This commit is contained in:
Dave Halter
2015-02-01 02:32:52 +01:00
parent bc118e8047
commit 9a0f1363e3
3 changed files with 3 additions and 8 deletions

View File

@@ -284,11 +284,8 @@ class UserContextParser(object):
user_stmt = self.user_stmt()
if user_stmt is None:
def scan(scope):
print(scope, scope.subscopes)
for s in scope.subscopes + list(reversed(scope.flows)):
if isinstance(s, (pr.Scope, pr.Flow)):
print(s, self._position, 'X', s.start_pos, s.end_pos, s.children,
s.children[-2])
if s.start_pos <= self._position <= s.end_pos:
if isinstance(s, pr.Flow):
return s