Skip to content

Commit 1c37d59

Browse files
committed
Add a seealso.
1 parent b3cbbf8 commit 1c37d59

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Doc/c-api/init.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,6 +1252,9 @@ code, or when embedding the Python interpreter:
12521252
This function is safe to call without an :term:`attached thread state`; it
12531253
will simply return ``NULL`` indicating that there was no prior thread state.
12541254
1255+
.. seealso:
1256+
:c:func:`PyEval_ReleaseThread`
1257+
12551258
12561259
The following functions use thread-local storage, and are not compatible
12571260
with sub-interpreters:
@@ -1306,7 +1309,7 @@ with sub-interpreters:
13061309
always has such a thread-state, even if no auto-thread-state call has been
13071310
made on the main thread. This is mainly a helper/diagnostic function.
13081311
1309-
.. seealso: PyThreadState_Get
1312+
.. seealso: :c:func:`PyThreadState_Get``
13101313
13111314
13121315
.. c:function:: int PyGILState_Check()

0 commit comments

Comments
 (0)