mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
[Docs] GDB howto: Fix block type of a cast example (#127621)
This commit is contained in:
parent
23f2e8f13c
commit
657d0e99aa
1 changed files with 1 additions and 1 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue