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

Method gen_condition

mypyc/irbuild/for_helpers.py:1263–1267  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1261 self.gens.append(gen)
1262
1263 def gen_condition(self) -> None:
1264 for i, gen in enumerate(self.gens):
1265 gen.gen_condition()
1266 if i < len(self.gens) - 1:
1267 self.builder.activate_block(self.cond_blocks[i])
1268
1269 def begin_body(self) -> None:
1270 for gen in self.gens:

Callers 2

for_loop_helperFunction · 0.45
gen_conditionMethod · 0.45

Calls 3

enumerateFunction · 0.85
lenFunction · 0.85
activate_blockMethod · 0.45

Tested by

no test coverage detected