From 46dc8aac1f56f4a01d63a2ed7e216a3135400ee5 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sat, 18 May 2024 13:20:47 -0700 Subject: [PATCH] faulthandler: fix pos-only arg in unregister (#11963) --- stdlib/faulthandler.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/faulthandler.pyi b/stdlib/faulthandler.pyi index 7b42b8ec8..320a8b6fa 100644 --- a/stdlib/faulthandler.pyi +++ b/stdlib/faulthandler.pyi @@ -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: ...