From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Tue, 4 Oct 2022 23:12:22 +0000 (+0100) Subject: gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr:`PyInterp... X-Git-Tag: v3.12.0a1~263 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ebb0250314b57637d213cd5bc5f5ce5dd911d94;p=thirdparty%2FPython%2Fcpython.git gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`) (#97777) :c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *` --- 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.