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

Method gen_break

mypyc/irbuild/nonlocalcontrol.py:79–80  ·  view source on GitHub ↗
(self, builder: IRBuilder, line: int)

Source from the content-addressed store, hash-verified

77 self.break_block = break_block
78
79 def gen_break(self, builder: IRBuilder, line: int) -> None:
80 builder.add(Goto(self.break_block))
81
82 def gen_continue(self, builder: IRBuilder, line: int) -> None:
83 builder.add(Goto(self.continue_block))

Callers

nothing calls this directly

Calls 2

GotoClass · 0.90
addMethod · 0.45

Tested by

no test coverage detected