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

Function write_parsed

Tools/c-analyzer/c_parser/datafiles.py:39–43  ·  view source on GitHub ↗
(items, outfile)

Source from the content-addressed store, hash-verified

37
38
39def write_parsed(items, outfile):
40 # XXX Support other formats than TSV?
41 columns = _get_columns('parsed')
42 rows = (item.as_row(columns) for item in items)
43 _tables.write_table(outfile, columns, rows, sep='\t', fix='-')
44
45
46def read_decls(infile, fmt=None):

Callers

nothing calls this directly

Calls 2

_get_columnsFunction · 0.85
as_rowMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…