From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 5 Oct 2022 00:56:46 +0000 (-0700) Subject: [3.10] gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr... X-Git-Tag: v3.10.8~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09e5029aca36c21157516bb44269644084fdf9ad;p=thirdparty%2FPython%2Fcpython.git [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@users.noreply.github.com> --- 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.