Get rid of ERROR_IF's "label" parameter (GH-132654)

This commit is contained in:
Brandt Bucher 2025-04-29 17:21:53 -07:00 committed by GitHub
parent b329096cfb
commit 732d1b0241
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 155 additions and 162 deletions

View file

@ -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)