]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[Docs] GDB howto: Fix block type of a cast example (#127621)
authorMaciej Olko <maciej.olko@affirm.com>
Thu, 5 Dec 2024 20:52:58 +0000 (21:52 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Dec 2024 20:52:58 +0000 (22:52 +0200)
Doc/howto/gdb_helpers.rst

index 53bbf7ddaa2ab96ccfbe48ec5c2cd5a34e5ec283..98ce813ca4ab024fb83319ceaed628c74ab8c568 100644 (file)
@@ -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},