Skip to content

Commit f8b12b8

Browse files
committed
Fix Python documentation for range type fields
GDB's Python documentation claims that range types have two fields, but this is not true, and attempts to access them hit this error: "Type is not a structure, union, enum, or function type." This patch fixes the documentation.
1 parent a17805b commit f8b12b8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

gdb/doc/python.texi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,9 +1403,6 @@ Return the fields of this type. The behavior depends on the type code:
14031403
@item
14041404
For structure and union types, this method returns the fields.
14051405

1406-
@item
1407-
Range types have two fields, the minimum and maximum values.
1408-
14091406
@item
14101407
Enum types have one field per enum constant.
14111408

0 commit comments

Comments
 (0)