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

Function dump_info

Lib/test/pythoninfo.py:1105–1115  ·  view source on GitHub ↗
(info, file=None)

Source from the content-addressed store, hash-verified

1103
1104
1105def dump_info(info, file=None):
1106 title = "Python build information"
1107 print(title)
1108 print("#" * len(title))
1109 print()
1110
1111 infos = info.get_infos()
1112 infos = sorted(infos.items())
1113 for key, value in infos:
1114 value = value.replace("\n", " ")
1115 print("%s: %s" % (key, value))
1116
1117
1118def main():

Callers 1

mainFunction · 0.85

Calls 3

get_infosMethod · 0.80
itemsMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…