diff --git a/stubs/gdb/gdb/__init__.pyi b/stubs/gdb/gdb/__init__.pyi index 4670ef06e..0a572d31e 100644 --- a/stubs/gdb/gdb/__init__.pyi +++ b/stubs/gdb/gdb/__init__.pyi @@ -46,7 +46,7 @@ def add_history(value: Value, /) -> int: ... def history_count() -> int: ... def convenience_variable(name: str, /) -> Value | None: ... def set_convenience_variable(name: str, value: _ValueOrNative | None, /) -> None: ... -def parse_and_eval(expression: str, /) -> Value: ... +def parse_and_eval(expression: str, global_context: bool = False, /) -> Value: ... def find_pc_line(pc: int | Value) -> Symtab_and_line: ... def post_event(event: Callable[[], object], /) -> None: ... def write(string: str, stream: int = ...) -> None: ...