@@ -110,7 +110,7 @@ def _handle_section(self, section: _S, group: _stencils.StencilGroup) -> None:
110110 raise NotImplementedError (type (self ))
111111
112112 def _handle_relocation (
113- self , base : int , relocation : _R , raw : bytes | bytearray
113+ self , base : int , relocation : _R , raw : bytearray
114114 ) -> _stencils .Hole :
115115 raise NotImplementedError (type (self ))
116116
@@ -277,10 +277,7 @@ def _unwrap_dllimport(self, name: str) -> tuple[_stencils.HoleValue, str | None]
277277 return _stencils .symbol_to_value (name )
278278
279279 def _handle_relocation (
280- self ,
281- base : int ,
282- relocation : _schema .COFFRelocation ,
283- raw : bytes | bytearray ,
280+ self , base : int , relocation : _schema .COFFRelocation , raw : bytearray
284281 ) -> _stencils .Hole :
285282 match relocation :
286283 case {
@@ -375,10 +372,7 @@ def _handle_section(
375372 }, section_type
376373
377374 def _handle_relocation (
378- self ,
379- base : int ,
380- relocation : _schema .ELFRelocation ,
381- raw : bytes | bytearray ,
375+ self , base : int , relocation : _schema .ELFRelocation , raw : bytearray
382376 ) -> _stencils .Hole :
383377 symbol : str | None
384378 match relocation :
@@ -454,10 +448,7 @@ def _handle_section(
454448 stencil .holes .append (hole )
455449
456450 def _handle_relocation (
457- self ,
458- base : int ,
459- relocation : _schema .MachORelocation ,
460- raw : bytes | bytearray ,
451+ self , base : int , relocation : _schema .MachORelocation , raw : bytearray
461452 ) -> _stencils .Hole :
462453 symbol : str | None
463454 match relocation :
0 commit comments