Skip to content

Commit 8edafa8

Browse files
authored
Fix types of Bdb.{get_file_breaks,get_all_breaks} (#14502)
1 parent 3f08a4e commit 8edafa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/bdb.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ class Bdb:
8181
def get_bpbynumber(self, arg: SupportsInt) -> Breakpoint: ...
8282
def get_break(self, filename: str, lineno: int) -> bool: ...
8383
def get_breaks(self, filename: str, lineno: int) -> list[Breakpoint]: ...
84-
def get_file_breaks(self, filename: str) -> list[Breakpoint]: ...
85-
def get_all_breaks(self) -> list[Breakpoint]: ...
84+
def get_file_breaks(self, filename: str) -> list[int]: ...
85+
def get_all_breaks(self) -> dict[str, list[int]]: ...
8686
def get_stack(self, f: FrameType | None, t: TracebackType | None) -> tuple[list[tuple[FrameType, int]], int]: ...
8787
def format_stack_entry(self, frame_lineno: tuple[FrameType, int], lprefix: str = ": ") -> str: ...
8888
def run(

0 commit comments

Comments
 (0)