Skip to content

Commit 02cbf3f

Browse files
committed
make a Value's address have type Value | None
Which is consistent with the GDB documentation: https://sourceware.org/gdb/current/onlinedocs/gdb.html/Values-From-Inferior.html#Values-From-Inferior:~:text=Variable%3A%20Value%2Eaddress
1 parent c013563 commit 02cbf3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/gdb/gdb/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ _ValueOrInt: TypeAlias = Value | int
7676

7777
@disjoint_base
7878
class Value:
79-
address: Value
79+
address: Value | None
8080
is_optimized_out: bool
8181
type: Type
8282
dynamic_type: Type

0 commit comments

Comments
 (0)