faulthandler: fix pos-only arg in unregister (#11963)

This commit is contained in:
Shantanu
2024-05-18 13:20:47 -07:00
committed by GitHub
parent feee9dc0f4
commit 46dc8aac1f

View File

@@ -10,4 +10,4 @@ def is_enabled() -> bool: ...
if sys.platform != "win32":
def register(signum: int, file: FileDescriptorLike = ..., all_threads: bool = ..., chain: bool = ...) -> None: ...
def unregister(signum: int) -> None: ...
def unregister(signum: int, /) -> None: ...