MCPcopy Index your code
hub / github.com/rocky/python-uncompyle6 / output

Function output

pytest/validate.py:134–143  ·  view source on GitHub ↗
(text, dis)

Source from the content-addressed store, hash-verified

132 uncompyled_dis = _dis_to_text(uncompyled_text)
133
134 def output(text, dis):
135 width = 60
136 return "\n\n".join(
137 [
138 " SOURCE CODE ".center(width, "#"),
139 text.strip(),
140 " BYTECODE ".center(width, "#"),
141 dis,
142 ]
143 )
144
145 original = output(original_text, original_dis)
146 uncompyled = output(uncompyled_text, uncompyled_dis)

Callers 1

validate_uncompyleFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected