MCPcopy Index your code
hub / github.com/python/cpython / write_ignored

Function write_ignored

Tools/c-analyzer/c_analyzer/datafiles.py:117–130  ·  view source on GitHub ↗
(variables, outfile, relroot=fsutil.USE_CWD)

Source from the content-addressed store, hash-verified

115
116
117def write_ignored(variables, outfile, relroot=fsutil.USE_CWD):
118 raise NotImplementedError
119 if relroot and relroot is not fsutil.USE_CWD:
120 relroot = os.path.abspath(relroot)
121 reason = '???'
122 #if not isinstance(varid, DeclID):
123 # varid = getattr(varid, 'parsed', varid).id
124 decls = (d.fix_filename(relroot, fixroot=False) for d in decls)
125 _tables.write_table(
126 outfile,
127 IGNORED_HEADER,
128 sep='\t',
129 rows=(r.render_rowdata() + (reason,) for r in decls),
130 )

Callers

nothing calls this directly

Calls 3

abspathMethod · 0.45
fix_filenameMethod · 0.45
render_rowdataMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…