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

Function _test

uncompyle6/code_fns.py:120–131  ·  view source on GitHub ↗

Simple test program to disassemble a file.

()

Source from the content-addressed store, hash-verified

118
119
120def _test():
121 """Simple test program to disassemble a file."""
122 argc = len(sys.argv)
123 if argc != 2:
124 if argc == 1:
125 fn = __file__
126 else:
127 sys.stderr.write("usage: %s [-|CPython compiled file]\n" % __file__)
128 sys.exit(2)
129 else:
130 fn = sys.argv[1]
131 disassemble_file(fn)
132
133
134if __name__ == "__main__":

Callers 1

code_fns.pyFile · 0.85

Calls 2

disassemble_fileFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected