@@ -328,9 +328,7 @@ def build(
328328 jit_stencils_new .unlink (missing_ok = True )
329329
330330
331- class _COFF (
332- _Target [_schema .COFFSection , _schema .COFFRelocation ]
333- ): # pylint: disable = too-few-public-methods
331+ class _COFF (_Target [_schema .COFFSection , _schema .COFFRelocation ]): # pylint: disable = too-few-public-methods
334332 def _shim_compile_args (self ) -> list [str ]:
335333 # The linked shim is part of pythoncore, not a shared extension.
336334 # On Windows, Py_BUILD_CORE_MODULE makes public APIs import from
@@ -443,9 +441,7 @@ def _compile_args(self) -> list[str]:
443441 return [runtime , * self .args ]
444442
445443
446- class _ELF (
447- _Target [_schema .ELFSection , _schema .ELFRelocation ]
448- ): # pylint: disable = too-few-public-methods
444+ class _ELF (_Target [_schema .ELFSection , _schema .ELFRelocation ]): # pylint: disable = too-few-public-methods
449445 label_prefix = ".L"
450446 symbol_prefix = ""
451447 re_global = re .compile (r'\s*\.globl\s+(?P<label>[\w."$?@]+)(\s+.*)?' )
@@ -534,9 +530,7 @@ def _handle_relocation(
534530 return _stencils .Hole (offset , kind , value , symbol , addend )
535531
536532
537- class _MachO (
538- _Target [_schema .MachOSection , _schema .MachORelocation ]
539- ): # pylint: disable = too-few-public-methods
533+ class _MachO (_Target [_schema .MachOSection , _schema .MachORelocation ]): # pylint: disable = too-few-public-methods
540534 label_prefix = "L"
541535 symbol_prefix = "_"
542536 re_global = re .compile (r'\s*\.globl\s+(?P<label>[\w."$?@]+)(\s+.*)?' )
0 commit comments