diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-07-27 05:52:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 05:52:54 (GMT) |
commit | d363eb5b0255c055e7b43f5e2c0847f555e1982e (patch) | |
tree | 126be9692e95625c5fb5c32781ef9ca0d21da187 /Doc/c-api/init.rst | |
parent | 8d61a71f9c81619e34d4a30b625922ebc83c561b (diff) | |
download | cpython-d363eb5b0255c055e7b43f5e2c0847f555e1982e.zip cpython-d363eb5b0255c055e7b43f5e2c0847f555e1982e.tar.gz cpython-d363eb5b0255c055e7b43f5e2c0847f555e1982e.tar.bz2 |
gh-107091: Fix some uses of :attr: role (GH-107318)
Fix also formatting of PyMethodDef members.
Diffstat (limited to 'Doc/c-api/init.rst')
-rw-r--r-- | Doc/c-api/init.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 8d495da..a447eef 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -827,8 +827,11 @@ 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:expr:`PyInterpreterState *`), which points to - this thread's interpreter state. + data member is: + + .. c:member:: PyInterpreterState *interp + + This thread's interpreter state. .. c:function:: PyThreadState* PyEval_SaveThread() |