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

Function write_decls

Tools/c-analyzer/c_parser/datafiles.py:54–58  ·  view source on GitHub ↗
(decls, outfile, fmt=None, *, backup=False)

Source from the content-addressed store, hash-verified

52
53
54def write_decls(decls, outfile, fmt=None, *, backup=False):
55 if fmt is None:
56 fmt = _get_format(infile)
57 _, write_all = _get_format_handlers('decls', fmt)
58 write_all(decls, outfile, backup=backup)
59
60
61#############################

Callers

nothing calls this directly

Calls 3

_get_formatFunction · 0.85
_get_format_handlersFunction · 0.85
write_allFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…