Searched refs:getlines (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Lib/test/ |
D | test_linecache.py | 68 lines = linecache.getlines(self.file_name) 81 linecache.getlines, self.file_name) 124 empty = linecache.getlines('a/b/c/__init__.py') 131 lines = linecache.getlines(os_helper.TESTFN) 185 lines = linecache.getlines(FILENAME) 188 self.assertEqual(lines, linecache.getlines(FILENAME)) 191 lines = linecache.getlines(NONEXISTENT_FILENAME, globals()) 198 self.assertEqual(lines, linecache.getlines(NONEXISTENT_FILENAME)) 202 lines = linecache.getlines(NONEXISTENT_FILENAME, globals()) 204 linecache.getlines(NONEXISTENT_FILENAME) [all …]
|
D | test_inspect.py | 580 getlines = linecache.getlines 585 return getlines(filename, module_globals) 586 linecache.getlines = monkey 592 linecache.getlines = getlines
|
/third_party/python/Lib/ |
D | linecache.py | 30 lines = getlines(filename, module_globals) 36 def getlines(filename, module_globals=None): function
|
D | doctest.py | 917 source_lines = linecache.getlines(file, module.__dict__) 921 source_lines = linecache.getlines(file) 1485 self.save_linecache_getlines = linecache.getlines 1486 linecache.getlines = self.__patched_linecache_getlines 1498 linecache.getlines = self.save_linecache_getlines
|
D | warnings.py | 367 linecache.getlines(filename, module_globals)
|
D | trace.py | 270 source = linecache.getlines(filename)
|
D | inspect.py | 954 lines = linecache.getlines(file, module.__dict__) 956 lines = linecache.getlines(file)
|
D | pdb.py | 1253 lines = linecache.getlines(filename, self.curframe.f_globals)
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_pyparse.py | 281 getlines = p.get_num_lines_in_stmt 298 getlines() 303 eq(getlines(), test.lines)
|