summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-10-04 23:12:22 (GMT)
committerGitHub <noreply@github.com>2022-10-04 23:12:22 (GMT)
commit4ebb0250314b57637d213cd5bc5f5ce5dd911d94 (patch)
tree7705f484f2a12e202bd6629f50c18ffe96f25a44 /Doc/c-api
parent510baa429affb832d7b4ed68182e59daa2815d2e (diff)
downloadcpython-4ebb0250314b57637d213cd5bc5f5ce5dd911d94.zip
cpython-4ebb0250314b57637d213cd5bc5f5ce5dd911d94.tar.gz
cpython-4ebb0250314b57637d213cd5bc5f5ce5dd911d94.tar.bz2
gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`) (#97777)
:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`
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 2a9cf0e..ec30348 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.