Remove obsolete OptExcInfo from sys (#13117)

This commit is contained in:
Konstantin Baikov
2024-11-26 09:10:56 +01:00
committed by GitHub
parent 410081e820
commit 02533d13ea
3 changed files with 4 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
import sys
import threading
from _typeshed import OptExcInfo
from collections.abc import Callable
from queue import Queue
from types import ModuleType, TracebackType
@@ -28,7 +28,7 @@ class AbstractListener(threading.Thread):
_thread: threading.Thread # undocumented
_condition: threading.Condition # undocumented
_ready: bool # undocumented
_queue: Queue[sys._OptExcInfo | None] # undocumented
_queue: Queue[OptExcInfo | None] # undocumented
daemon: bool
def __init__(self, suppress: bool = False, **kwargs: Callable[..., bool | None] | None) -> None: ...
@property