Home
last modified time | relevance | path

Searched refs:get_lineno (Results 1 - 11 of 11) sorted by relevance

/third_party/python/Lib/idlelib/
H A Dsidebar.py15 def get_lineno(text, index): function
23 return get_lineno(text, 'end-1c')
193 lineno = get_lineno(self.text, f"@0,{y_coord}")
391 is_single_line = get_lineno(self, index1) == get_lineno(self, index2)
485 lineno = get_lineno(text, index)
H A Drunscript.py74 self.editwin.gotoline(nag.get_lineno())
/third_party/python/Lib/lib2to3/
H A Dfixer_base.py129 lineno = node.get_lineno()
144 lineno = node.get_lineno()
H A Dpytree.py124 def get_lineno(self): member in Base
H A Drefactor.py425 match_set[fixer].sort(key=pytree.Base.get_lineno)
/third_party/python/Doc/tools/extensions/
H A Dsuspicious.py189 def get_lineno(node): function
232 self.lastlineno = lineno = max(get_lineno(node) or 0, self.lastlineno)
/third_party/python/Lib/
H A Dtabnanny.py66 def get_lineno(self): member in NannyNag
116 badline = nag.get_lineno()
H A Dsymtable.py91 def get_lineno(self): member in SymbolTable
/third_party/python/Lib/test/
H A Dtest_symtable.py94 self.assertEqual(self.top.get_lineno(), 0)
95 self.assertEqual(self.spam.get_lineno(), 14)
H A Dtest_tabnanny.py132 line_number = nanny.get_lineno()
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_sidebar.py20 from idlelib.sidebar import get_end_linenumber, get_lineno namespace
431 cls.n_preface_lines = get_lineno(cls.shell.text, 'end-1c') - 1
688 self.assertGreater(get_lineno(text, '@0,0'), 1)

Completed in 8 milliseconds