mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 23:26:54 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -56,7 +56,7 @@ class Bdb:
|
||||
def get_breaks(self, filename: str, lineno: int) -> list[Breakpoint]: ...
|
||||
def get_file_breaks(self, filename: str) -> list[Breakpoint]: ...
|
||||
def get_all_breaks(self) -> list[Breakpoint]: ...
|
||||
def get_stack(self, f: FrameType | None, t: TracebackType | None) -> Tuple[list[Tuple[FrameType, int]], int]: ...
|
||||
def get_stack(self, f: FrameType | None, t: TracebackType | None) -> tuple[list[tuple[FrameType, int]], int]: ...
|
||||
def format_stack_entry(self, frame_lineno: int, lprefix: str = ...) -> str: ...
|
||||
def run(self, cmd: str | CodeType, globals: dict[str, Any] | None = ..., locals: Mapping[str, Any] | None = ...) -> None: ...
|
||||
def runeval(self, expr: str, globals: dict[str, Any] | None = ..., locals: Mapping[str, Any] | None = ...) -> None: ...
|
||||
@@ -66,7 +66,7 @@ class Bdb:
|
||||
class Breakpoint:
|
||||
|
||||
next: int
|
||||
bplist: dict[Tuple[str, int], list[Breakpoint]]
|
||||
bplist: dict[tuple[str, int], list[Breakpoint]]
|
||||
bpbynumber: list[Breakpoint | None]
|
||||
|
||||
funcname: str | None
|
||||
@@ -90,5 +90,5 @@ class Breakpoint:
|
||||
def __str__(self) -> str: ...
|
||||
|
||||
def checkfuncname(b: Breakpoint, frame: FrameType) -> bool: ...
|
||||
def effective(file: str, line: int, frame: FrameType) -> Tuple[Breakpoint, bool] | Tuple[None, None]: ...
|
||||
def effective(file: str, line: int, frame: FrameType) -> tuple[Breakpoint, bool] | tuple[None, None]: ...
|
||||
def set_trace() -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user