mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 05:22:23 +08:00
Fix stdlib stubtest for latest Python patch releases (#13464)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import sys
|
||||
from _typeshed import ExcInfo, TraceFunction, Unused
|
||||
from collections.abc import Callable, Iterable, Mapping
|
||||
from collections.abc import Callable, Iterable, Iterator, Mapping
|
||||
from contextlib import contextmanager
|
||||
from types import CodeType, FrameType, TracebackType
|
||||
from typing import IO, Any, Final, SupportsInt, TypeVar
|
||||
from typing_extensions import ParamSpec
|
||||
@@ -30,6 +31,10 @@ class Bdb:
|
||||
def __init__(self, skip: Iterable[str] | None = None) -> None: ...
|
||||
def canonic(self, filename: str) -> str: ...
|
||||
def reset(self) -> None: ...
|
||||
if sys.version_info >= (3, 12):
|
||||
@contextmanager
|
||||
def set_enterframe(self, frame: FrameType) -> Iterator[None]: ...
|
||||
|
||||
def trace_dispatch(self, frame: FrameType, event: str, arg: Any) -> TraceFunction: ...
|
||||
def dispatch_line(self, frame: FrameType) -> TraceFunction: ...
|
||||
def dispatch_call(self, frame: FrameType, arg: None) -> TraceFunction: ...
|
||||
|
||||
Reference in New Issue
Block a user