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

Method next_branch

mypy/partially_defined.py:242–244  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

240 )
241
242 def next_branch(self) -> None:
243 assert len(self._scope().branch_stmts) > 1
244 self._scope().branch_stmts[-1].next_branch()
245
246 def end_branch_statement(self) -> None:
247 assert len(self._scope().branch_stmts) > 1

Callers

nothing calls this directly

Calls 3

_scopeMethod · 0.95
lenFunction · 0.85
next_branchMethod · 0.45

Tested by

no test coverage detected