MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / main

Function main

tools/python-3.11.9-amd64/Lib/dis.py:762–771  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

760
761
762def main():
763 import argparse
764
765 parser = argparse.ArgumentParser()
766 parser.add_argument('infile', type=argparse.FileType('rb'), nargs='?', default='-')
767 args = parser.parse_args()
768 with args.infile as infile:
769 source = infile.read()
770 code = compile(source, args.infile.name, "exec")
771 dis(code)
772
773if __name__ == "__main__":
774 main()

Callers 1

dis.pyFile · 0.70

Calls 5

parse_argsMethod · 0.95
compileFunction · 0.70
disFunction · 0.70
add_argumentMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected