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

Function main

Platforms/emscripten/web_example/server.py:32–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31
32def main() -> None:
33 args = parser.parse_args()
34 if not args.bind:
35 args.bind = None
36
37 server.test( # type: ignore[attr-defined]
38 HandlerClass=MyHTTPRequestHandler,
39 protocol="HTTP/1.1",
40 port=args.port,
41 bind=args.bind,
42 )
43
44
45if __name__ == "__main__":

Callers 1

server.pyFile · 0.70

Calls 2

parse_argsMethod · 0.45
testMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…