Skip to content

Commit

Permalink
[3.13] [Docs] GDB howto: Fix block type of a cast example (GH-127621) (
Browse files Browse the repository at this point in the history
…#127653)

[Docs] GDB howto: Fix block type of a cast example (GH-127621)
(cherry picked from commit 657d0e9)

Co-authored-by: Maciej Olko <[email protected]>
  • Loading branch information
miss-islington and m-aciek authored Dec 5, 2024
1 parent 2da829b commit 304111e
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 304111e

Please sign in to comment.