forked from VimPlug/jedi
Start removing the print statements that were used for debugging.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user