[Python-checkins] gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`) (#97777)
ambv
webhook-mailer at python.org
Tue Oct 4 19:12:30 EDT 2022
https://github.com/python/cpython/commit/4ebb0250314b57637d213cd5bc5f5ce5dd911d94
commit: 4ebb0250314b57637d213cd5bc5f5ce5dd911d94
branch: main
author: Adam Turner <9087854+AA-Turner at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-10-04T16:12:22-07:00
summary:
gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`) (#97777)
:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`
files:
M Doc/c-api/init.rst
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 2a9cf0ea7022..ec3034893b90 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -1023,7 +1023,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