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

Method parse

Tools/clinic/libclinic/parser.py:49–53  ·  view source on GitHub ↗
(self, block: Block)

Source from the content-addressed store, hash-verified

47 pass
48
49 def parse(self, block: Block) -> None:
50 namespace = create_parser_namespace()
51 with contextlib.redirect_stdout(io.StringIO()) as s:
52 exec(block.input, namespace)
53 block.output = s.getvalue()

Callers

nothing calls this directly

Calls 2

create_parser_namespaceFunction · 0.85
getvalueMethod · 0.45

Tested by

no test coverage detected