[Python-checkins] [3.10] gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`) (GH-97777) (#97877)

ambv webhook-mailer at python.org
Tue Oct 4 20:56:51 EDT 2022


https://github.com/python/cpython/commit/09e5029aca36c21157516bb44269644084fdf9ad
commit: 09e5029aca36c21157516bb44269644084fdf9ad
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-10-04T17:56:46-07:00
summary:

[3.10] gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`) (GH-97777) (#97877)

:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`
(cherry picked from commit 4ebb0250314b57637d213cd5bc5f5ce5dd911d94)

Co-authored-by: Adam Turner <9087854+AA-Turner at users.noreply.github.com>

files:
M Doc/c-api/init.rst

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index a44442a50155..45efa8949878 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -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.
 
 



More information about the Python-checkins mailing list