mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Get rid of ERROR_IF's "label" parameter (GH-132654)
This commit is contained in:
parent
b329096cfb
commit
732d1b0241
7 changed files with 155 additions and 162 deletions
|
|
@ -64,7 +64,7 @@ def __init__(self, out: CWriter, labels: dict[str, Label]):
|
|||
super().__init__(out, labels)
|
||||
self._replacers["oparg"] = self.oparg
|
||||
|
||||
def goto_error(self, offset: int, label: str, storage: Storage) -> str:
|
||||
def goto_error(self, offset: int, storage: Storage) -> str:
|
||||
# To do: Add jump targets for popping values.
|
||||
if offset != 0:
|
||||
storage.copy().flush(self.out)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue