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

Method unreachable

Tools/cases_generator/generators_common.py:156–167  ·  view source on GitHub ↗
(
        self,
        tkn: Token,
        tkn_iter: TokenIterator,
        uop: CodeSection,
        storage: Storage,
        inst: Instruction | None,
    )

Source from the content-addressed store, hash-verified

154 return False
155
156 def unreachable(
157 self,
158 tkn: Token,
159 tkn_iter: TokenIterator,
160 uop: CodeSection,
161 storage: Storage,
162 inst: Instruction | None,
163 ) -> bool:
164 self.emit(tkn)
165 emit_to(self.out, tkn_iter, "SEMI")
166 self.emit(";\n")
167 return False
168
169 def deopt_if(
170 self,

Callers

nothing calls this directly

Calls 2

emitMethod · 0.95
emit_toFunction · 0.85

Tested by

no test coverage detected