Skip to content

Commit

Permalink
[Docs] GDB howto: Fix block type of a cast example (#127621)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-aciek authored Dec 5, 2024
1 parent 23f2e8f commit 657d0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/howto/gdb_helpers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ regular machine-level integer::
(gdb) p some_python_integer
$4 = 42

The internal structure can be revealed with a cast to :c:expr:`PyLongObject *`:
The internal structure can be revealed with a cast to :c:expr:`PyLongObject *`::

(gdb) p *(PyLongObject*)some_python_integer
$5 = {ob_base = {ob_base = {ob_refcnt = 8, ob_type = 0x3dad39f5e0}, ob_size = 1},
Expand Down

0 comments on commit 657d0e9

Please sign in to comment.