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

Function write

Tools/freeze/regen_frozen.py:28–29  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

26 """Generate C code for the module code in 'co_bytes', write it to 'fp'.
27 """
28 def write(*args, **kwargs):
29 print(*args, **kwargs, file=fp)
30 write('/* Generated with Tools/freeze/regen_frozen.py */')
31 write('static unsigned char %s[] = {' % SYMBOL, end='')
32 bytes_per_row = 13

Callers 2

gen_c_codeFunction · 0.70
print_blockMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…