diff options
author | Maciej Olko <maciej.olko@affirm.com> | 2024-12-05 20:52:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-05 20:52:58 (GMT) |
commit | 657d0e99aa8754372786120d6ec00c9d9970e775 (patch) | |
tree | a9b34dd927508ad4ef83af23c3533c9434c31b08 /Doc | |
parent | 23f2e8f13c4e4a34106cf96fad9329cbfbf8844d (diff) | |
download | cpython-657d0e99aa8754372786120d6ec00c9d9970e775.zip cpython-657d0e99aa8754372786120d6ec00c9d9970e775.tar.gz cpython-657d0e99aa8754372786120d6ec00c9d9970e775.tar.bz2 |
[Docs] GDB howto: Fix block type of a cast example (#127621)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/howto/gdb_helpers.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/gdb_helpers.rst b/Doc/howto/gdb_helpers.rst index 53bbf7d..98ce813 100644 --- a/Doc/howto/gdb_helpers.rst +++ b/Doc/howto/gdb_helpers.rst @@ -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}, |