MCPcopy Index your code
hub / github.com/python/mypy / make_handler

Function make_handler

mypyc/irbuild/statement.py:759–760  ·  view source on GitHub ↗
(body: Block)

Source from the content-addressed store, hash-verified

757
758 # Work around scoping woes
759 def make_handler(body: Block) -> GenFunc:
760 return lambda: builder.accept(body)
761
762 def make_entry(type: Expression) -> tuple[ValueGenFunc, int]:
763 return (lambda: builder.accept(type), type.line)

Callers 1

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…