Searched refs:linecache (Results 1 – 25 of 75) sorted by relevance
123
/external/python/cpython3/Lib/test/ |
D | test_linecache.py | 3 import linecache 11 FILENAME = linecache.__file__ 63 cached_line = linecache.getline(self.file_name, index + 1) 67 lines = linecache.getlines(self.file_name) 76 linecache.getline, self.file_name, 1) 80 linecache.getlines, self.file_name) 102 getline = linecache.getline 123 empty = linecache.getlines('a/b/c/__init__.py') 130 lines = linecache.getlines(support.TESTFN) 138 linecache.getline(filename, 1) [all …]
|
D | test_traceback.py | 5 import linecache 895 linecache.clearcache() 896 linecache.lazycache("f", globals()) 912 linecache.clearcache() 915 linecache.lazycache("f", globals()) 956 linecache.clearcache() 957 linecache.updatecache('/foo.py', globals()) 961 linecache.clearcache() 965 linecache.clearcache() 969 self.assertEqual({}, linecache.cache) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_linecache.py | 3 import linecache 9 FILENAME = linecache.__file__ 42 getline = linecache.getline 68 empty = linecache.getlines('a/b/c/__init__.py') 75 lines = linecache.getlines(support.TESTFN) 83 linecache.getline(filename, 1) 86 cached_empty = [fn for fn in cached if fn not in linecache.cache] 90 linecache.clearcache() 91 cached_empty = [fn for fn in cached if fn in linecache.cache] 95 getline = linecache.getline [all …]
|
D | test_zipimport_support.py | 14 import linecache 71 linecache.clearcache()
|
/external/python/cpython2/Doc/library/ |
D | linecache.rst | 2 :mod:`linecache` --- Random access to text lines 5 .. module:: linecache 9 **Source code:** :source:`Lib/linecache.py` 13 The :mod:`linecache` module allows one to get any line from any file, while 18 The :mod:`linecache` module defines the following functions: 52 >>> import linecache 53 >>> linecache.getline('/etc/passwd', 4)
|
/external/python/cpython3/Doc/library/ |
D | linecache.rst | 1 :mod:`linecache` --- Random access to text lines 4 .. module:: linecache 9 **Source code:** :source:`Lib/linecache.py` 13 The :mod:`linecache` module allows one to get any line from a Python source file, while 22 The :mod:`linecache` module defines the following functions: 65 >>> import linecache 66 >>> linecache.getline(linecache.__file__, 8)
|
/external/python/pyfakefs/pyfakefs/pytest_tests/ |
D | conftest.py | 18 import linecache 28 Patcher.SKIPMODULES.add(linecache) 40 linecache.open = patcher.original_open
|
/external/python/cpython2/Lib/ |
D | traceback.py | 3 import linecache 68 linecache.checkcache(filename) 69 line = linecache.getline(filename, lineno, f.f_globals) 100 linecache.checkcache(filename) 101 line = linecache.getline(filename, lineno, f.f_globals) 305 linecache.checkcache(filename) 306 line = linecache.getline(filename, lineno, f.f_globals)
|
D | bdb.py | 40 import linecache 41 linecache.checkcache() 254 import linecache # Import as late as possible 255 line = linecache.getline(filename, lineno) 362 import linecache, repr 382 line = linecache.getline(filename, lineno, frame.f_globals) 620 import linecache 624 line = linecache.getline(fn, frame.f_lineno, frame.f_globals)
|
D | timeit.py | 175 import linecache, traceback 177 linecache.cache[dummy_src_name] = (len(self.src),
|
D | warnings.py | 6 import linecache 51 line = linecache.getline(filename, lineno) if line is None else line 273 linecache.getlines(filename, module_globals)
|
D | cgitb.py | 26 import linecache 135 try: return linecache.getline(file, lnum[0]) 219 try: return linecache.getline(file, lnum[0])
|
/external/python/cpython3/Lib/ |
D | warnings.py | 41 import linecache 42 line = linecache.getline(msg.filename, msg.lineno) 47 linecache = None 79 if linecache is not None: 80 line = linecache.getline(frame.filename, frame.lineno) 366 import linecache 367 linecache.getlines(filename, module_globals) 492 import linecache, traceback 495 line = linecache.getline(filename, lineno)
|
D | bdb.py | 56 import linecache 57 linecache.checkcache() 376 import linecache # Import as late as possible 377 line = linecache.getline(filename, lineno) 543 import linecache, reprlib 556 line = linecache.getline(filename, lineno, frame.f_globals) 841 import linecache 845 line = linecache.getline(fn, frame.f_lineno, frame.f_globals)
|
D | traceback.py | 5 import linecache 288 self._line = linecache.getline(self.filename, self.lineno).strip() 353 linecache.lazycache(filename, f.f_globals) 362 linecache.checkcache(filename)
|
D | cgitb.py | 26 import linecache 135 try: return linecache.getline(file, lnum[0]) 219 try: return linecache.getline(file, lnum[0])
|
D | timeit.py | 153 import linecache, traceback 155 linecache.cache[dummy_src_name] = (len(self.src),
|
/external/python/cpython3/Lib/asyncio/ |
D | base_tasks.py | 1 import linecache 70 linecache.checkcache(filename) 71 line = linecache.getline(filename, lineno, f.f_globals)
|
/external/python/pyfakefs/pyfakefs/ |
D | pytest_plugin.py | 12 import linecache 28 Patcher.SKIPMODULES.add(linecache)
|
/external/python/cpython2/Lib/idlelib/ |
D | run.py | 2 import linecache 171 import linecache 172 linecache.checkcache()
|
D | StackViewer.py | 3 import linecache 73 sourceline = linecache.getline(filename, lineno)
|
/external/python/cpython3/Lib/idlelib/ |
D | stackviewer.py | 1 import linecache 75 sourceline = linecache.getline(filename, lineno)
|
D | run.py | 9 import linecache 48 line = linecache.getline(filename, lineno) 214 import linecache 215 linecache.checkcache()
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | inspect_utils.py | 26 import linecache 144 linecache.updatecache(obj_file, m.__dict__)
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | refleak.py | 226 linecache = sys.modules['linecache'] 230 linecache.clearcache()
|
123