From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 5 Oct 2022 00:53:48 +0000 (-0700) Subject: [3.11] gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr... X-Git-Tag: v3.11.0~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa7893bbaf69e6c1a1a9f6e6d58696993c85c6c3;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`) (GH-97777) (#97865) :c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *` (cherry picked from commit 4ebb0250314b57637d213cd5bc5f5ce5dd911d94) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index f2473bba4b1a..4c0731e951de 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -914,7 +914,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.