8000 Fix precommit errors · python/typeshed@0cc5957 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0cc5957

Browse files
committed
Fix precommit errors
1 parent 603340b commit 0cc5957

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/_thread.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sys
22
from _typeshed import structseq
33
from collections.abc import Callable
4-
from signal import SIGINT, Signals
4+
from signal import Signals
55
from threading import Thread
66
from types import TracebackType
77
from typing import Any, Final, NoReturn, final, overload
@@ -34,7 +34,7 @@ class _ThreadHandle:
3434
def start_new_thread(function: Callable[[Unpack[_Ts]], object], args: tuple[Unpack[_Ts]], /) -> int: ...
3535
@overload
3636
def start_new_thread(function: Callable[..., object], args: tuple[Any, ...], kwargs: dict[str, Any], /) -> int: ...
37-
def interrupt_main(signum: Signals = SIGINT, /) -> None: ...
37+
def interrupt_main(signum: Signals = Signals.SIGINT, /) -> None: ... # noqa: Y011
3838
def exit() -> NoReturn: ...
3939
def allocate_lock() -> LockType: ...
4040
def get_ident() -> int: ...

0 commit comments

Comments
 (0)
0