From: Maciej Olko Date: Thu, 5 Dec 2024 20:52:58 +0000 (+0100) Subject: [Docs] GDB howto: Fix block type of a cast example (#127621) X-Git-Tag: v3.14.0a3~110 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=657d0e99aa8754372786120d6ec00c9d9970e775;p=thirdparty%2FPython%2Fcpython.git [Docs] GDB howto: Fix block type of a cast example (#127621) --- diff --git a/Doc/howto/gdb_helpers.rst b/Doc/howto/gdb_helpers.rst index 53bbf7ddaa2a..98ce813ca4ab 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},