Skip to content

Commit e2098c8

Browse files
committed
doc: Move PyThreadState_GET() alias after PyThreadState_Get()
1 parent d025044 commit e2098c8

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎Doc/c-api/threads.rst‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -599,11 +599,6 @@ C extensions.
599599
Hangs the current thread, rather than terminating it, if called while the
600600
interpreter is finalizing.
601601
602-
.. c:function:: PyThreadState* PyThreadState_GET()
603-
604-
Alias to :c:func:`PyThreadState_Get`.
605-
606-
607602
.. c:function:: PyThreadState* PyThreadState_Get()
608603
609604
Return the :term:`attached thread state`. If the thread has no attached
@@ -613,6 +608,10 @@ C extensions.
613608
614609
See also :c:func:`PyThreadState_GetUnchecked`.
615610
611+
.. c:function:: PyThreadState* PyThreadState_GET()
612+
613+
Alias to :c:func:`PyThreadState_Get`.
614+
616615
.. c:function:: PyThreadState* PyThreadState_GetUnchecked()
617616
618617
Similar to :c:func:`PyThreadState_Get`, but don't kill the process with a

0 commit comments

Comments
 (0)