diff --git a/stubs/gdb/gdb/events.pyi b/stubs/gdb/gdb/events.pyi index 02b2008d8..72d4fc503 100644 --- a/stubs/gdb/gdb/events.pyi +++ b/stubs/gdb/gdb/events.pyi @@ -27,8 +27,8 @@ class StopEvent(ThreadEvent): stop_signal: str class BreakpointEvent(StopEvent): - breakpoints = Sequence[gdb.Breakpoint] - breakkpoint: gdb.Breakpoint + breakpoints: Sequence[gdb.Breakpoint] + breakpoint: gdb.Breakpoint class StopEventRegistry: def connect(self, __object: Callable[[StopEvent], object]) -> None: ... diff --git a/stubs/gdb/gdb/printing.pyi b/stubs/gdb/gdb/printing.pyi index 7e977b8a0..97cb7bea1 100644 --- a/stubs/gdb/gdb/printing.pyi +++ b/stubs/gdb/gdb/printing.pyi @@ -1,4 +1,4 @@ -from collections.abc import Callable, Iterable +from collections.abc import Iterable import gdb from gdb import _PrettyPrinterLookupFunction @@ -19,8 +19,6 @@ class SubPrettyPrinter: def __init__(self, name: str) -> None: ... -GenPrinterFunction = Callable[[gdb.Value], PrettyPrinter] - class RegexpCollectionPrettyPrinter(PrettyPrinter): def __init__(self, name: str) -> None: ... def add_printer(self, name: str, regexp: str, gen_printer: _PrettyPrinterLookupFunction) -> None: ...