Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/c-api/threads.rst
Original file line number Diff line number Diff line change
Expand Up @@ -736,10 +736,10 @@ Low-level APIs
.. c:function:: PyObject* PyThreadState_GetDict()

Return a dictionary in which extensions can store thread-specific state
information. Each extension should use a unique key to use to store state in
information. Each extension should use a unique key to store a state in
the dictionary. It is okay to call this function when no :term:`thread state`
is :term:`attached <attached thread state>`. If this function returns
``NULL``, no exception has been raised and the caller should assume no
``NULL`` and no exception has been raised, then the caller should assume no
thread state is attached.


Expand Down