]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] [Docs] GDB howto: Fix block type of a cast example (GH-127621) (#127654)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 5 Dec 2024 21:01:23 +0000 (22:01 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Dec 2024 21:01:23 +0000 (21:01 +0000)
[Docs] GDB howto: Fix block type of a cast example (GH-127621)
(cherry picked from commit 657d0e99aa8754372786120d6ec00c9d9970e775)

Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
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},