diff --git a/stdlib/bdb.pyi b/stdlib/bdb.pyi index 993f0c6e2..d61c7d3fd 100644 --- a/stdlib/bdb.pyi +++ b/stdlib/bdb.pyi @@ -1,11 +1,14 @@ from types import CodeType, FrameType, TracebackType from typing import IO, Any, Callable, Iterable, Mapping, SupportsInt, TypeVar +from typing_extensions import Literal + +__all__ = ["BdbQuit", "Bdb", "Breakpoint"] _T = TypeVar("_T") _TraceDispatch = Callable[[FrameType, str, Any], Any] # TODO: Recursive type _ExcInfo = tuple[type[BaseException], BaseException, FrameType] -GENERATOR_AND_COROUTINE_FLAGS: int +GENERATOR_AND_COROUTINE_FLAGS: Literal[672] class BdbQuit(Exception): ...