https://github.com/python/cpython/commit/304111e96741ff94c1970fe3f2ab9c804e78ecb8 commit: 304111e96741ff94c1970fe3f2ab9c804e78ecb8 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: Eclips4 <[email protected]> date: 2024-12-05T20:58:36Z summary:
[3.13] [Docs] GDB howto: Fix block type of a cast example (GH-127621) (#127653) [Docs] GDB howto: Fix block type of a cast example (GH-127621) (cherry picked from commit 657d0e99aa8754372786120d6ec00c9d9970e775) Co-authored-by: Maciej Olko <[email protected]> files: M Doc/howto/gdb_helpers.rst diff --git a/Doc/howto/gdb_helpers.rst b/Doc/howto/gdb_helpers.rst index 53bbf7ddaa2ab9..98ce813ca4ab02 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}, _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
