mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-01 21:50:25 +00:00
Remove unused set_linecache() from better_exchook2.py
This commit is contained in:
parent
7257e5e1a0
commit
89c7c74bcf
1 changed files with 0 additions and 4 deletions
|
|
@ -109,10 +109,6 @@ def grep_full_py_identifiers(tokens):
|
|||
if token[0] in ".0123456789": continue
|
||||
yield token
|
||||
|
||||
def set_linecache(filename, source):
|
||||
import linecache
|
||||
linecache.cache[filename] = None, None, [line+'\n' for line in source.splitlines()], filename
|
||||
|
||||
def output(s, out=sys.stdout): print(s, file=out)
|
||||
|
||||
def output_limit():
|
||||
|
|
|
|||
Loading…
Reference in a new issue