Home
last modified time | relevance | path

Searched refs:stopindent (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/idlelib/
Dcodecontext.py149 def get_context(self, new_topvisible, stopline=1, stopindent=0): argument
172 if opener and linenum < new_topvisible and indent >= stopindent:
174 if lastindent <= stopindent:
198 stopindent = self.info[-1][1] + 1
202 stopindent = self.info[-1][1]
206 stopindent)
/third_party/python/Lib/idlelib/idle_test/
Dtest_codecontext.py214 eq(gc(11, stopindent=4), ([(7, 4, ' def compare(self):', 'def'),
218 eq(gc(11, stopindent=8), ([(8, 8, ' if a > b:', 'if'),