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

Method error_no_pop

Tools/cases_generator/generators_common.py:289–301  ·  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

287 tier2_to_tier2 = tier1_to_tier2
288
289 def error_no_pop(
290 self,
291 tkn: Token,
292 tkn_iter: TokenIterator,
293 uop: CodeSection,
294 storage: Storage,
295 inst: Instruction | None,
296 ) -> bool:
297 next(tkn_iter) # LPAREN
298 next(tkn_iter) # RPAREN
299 next(tkn_iter) # Semi colon
300 self.out.emit_at(self.goto_error(0, storage), tkn)
301 return False
302
303 def decref_inputs(
304 self,

Callers

nothing calls this directly

Calls 2

goto_errorMethod · 0.95
emit_atMethod · 0.80

Tested by

no test coverage detected