https://github.com/python/cpython/commit/73d5de1139a9cc623f887851ad876098afb0fb6f
commit: 73d5de1139a9cc623f887851ad876098afb0fb6f
branch: 3.13
author: Stan Ulbrych <[email protected]>
committer: hugovk <[email protected]>
date: 2025-11-24T18:56:15+02:00
summary:

[3.13] GH-129805: Clean up some changes from GH-129806 (GH-133540) (#141165)

Co-authored-by: Brandt Bucher <[email protected]>

files:
M Tools/jit/_targets.py

diff --git a/Tools/jit/_targets.py b/Tools/jit/_targets.py
index fb30bdb774a33b..34f4e20b95d19b 100644
--- a/Tools/jit/_targets.py
+++ b/Tools/jit/_targets.py
@@ -102,7 +102,7 @@ def _handle_section(self, section: _S, group: 
_stencils.StencilGroup) -> None:
         raise NotImplementedError(type(self))
 
     def _handle_relocation(
-        self, base: int, relocation: _R, raw: bytes | bytearray
+        self, base: int, relocation: _R, raw: bytearray
     ) -> _stencils.Hole:
         raise NotImplementedError(type(self))
 
@@ -275,10 +275,7 @@ def _unwrap_dllimport(self, name: str) -> 
tuple[_stencils.HoleValue, str | None]
         return _stencils.symbol_to_value(name)
 
     def _handle_relocation(
-        self,
-        base: int,
-        relocation: _schema.COFFRelocation,
-        raw: bytes | bytearray,
+        self, base: int, relocation: _schema.COFFRelocation, raw: bytearray
     ) -> _stencils.Hole:
         match relocation:
             case {
@@ -373,10 +370,7 @@ def _handle_section(
             }, section_type
 
     def _handle_relocation(
-        self,
-        base: int,
-        relocation: _schema.ELFRelocation,
-        raw: bytes | bytearray,
+        self, base: int, relocation: _schema.ELFRelocation, raw: bytearray
     ) -> _stencils.Hole:
         symbol: str | None
         match relocation:
@@ -452,10 +446,7 @@ def _handle_section(
             stencil.holes.append(hole)
 
     def _handle_relocation(
-        self,
-        base: int,
-        relocation: _schema.MachORelocation,
-        raw: bytes | bytearray,
+        self, base: int, relocation: _schema.MachORelocation, raw: bytearray
     ) -> _stencils.Hole:
         symbol: str | None
         match relocation:

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to