MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / reader

Function reader

tools/python-3.11.9-amd64/Lib/cgitb.py:144–147  ·  view source on GitHub ↗
(lnum=[lnum])

Source from the content-addressed store, hash-verified

142
143 highlight = {}
144 def reader(lnum=[lnum]):
145 highlight[lnum[0]] = 1
146 try: return linecache.getline(file, lnum[0])
147 finally: lnum[0] += 1
148 vars = scanvars(reader, frame, locals)
149
150 rows = ['<tr><td bgcolor="#d8bbff">%s%s %s</td></tr>' %

Callers 8

__init__Method · 0.85
has_headerMethod · 0.85
get_resource_readerFunction · 0.85
_tempfileFunction · 0.85
get_resource_readerFunction · 0.85
_tempfileFunction · 0.85
get_resource_readerFunction · 0.85
_tempfileFunction · 0.85

Calls 1

getlineMethod · 0.45

Tested by

no test coverage detected