summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-05 00:56:46 (GMT)
committerGitHub <noreply@github.com>2022-10-05 00:56:46 (GMT)
commit09e5029aca36c21157516bb44269644084fdf9ad (patch)
tree7625c07f1997de2c75660225800a0799fa8e6a69 /Doc/c-api
parent95289bf98369c3f2b782d89f8ab591569f636be7 (diff)
downloadcpython-09e5029aca36c21157516bb44269644084fdf9ad.zip
cpython-09e5029aca36c21157516bb44269644084fdf9ad.tar.gz
cpython-09e5029aca36c21157516bb44269644084fdf9ad.tar.bz2
[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>
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index a44442a..45efa89 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.