]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 5 Oct 2022 00:56:46 +0000 (17:56 -0700)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2022 00:56:46 +0000 (17:56 -0700)
:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`
(cherry picked from commit 4ebb0250314b57637d213cd5bc5f5ce5dd911d94)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/c-api/init.rst

index a44442a501555001221620991fd480dbd146968c..45efa8949878bed3b1d4e92e754a4a59d3770555 100644 (file)
@@ -867,7 +867,7 @@ code, or when embedding the Python interpreter:
 .. c:type:: PyThreadState
 
    This data structure represents the state of a single thread.  The only public
-   data member is :attr:`interp` (:c:type:`PyInterpreterState *`), which points to
+   data member is :attr:`interp` (:c:expr:`PyInterpreterState *`), which points to
    this thread's interpreter state.