We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f621ba1 commit 651e5e6Copy full SHA for 651e5e6
1 file changed
Doc/c-api/threads.rst
@@ -736,10 +736,10 @@ Low-level APIs
736
.. c:function:: PyObject* PyThreadState_GetDict()
737
738
Return a dictionary in which extensions can store thread-specific state
739
- information. Each extension should use a unique key to use to store state in
+ information. Each extension should use a unique key to use and store a state in
740
the dictionary. It is okay to call this function when no :term:`thread state`
741
is :term:`attached <attached thread state>`. If this function returns
742
- ``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
743
thread state is attached.
744
745
0 commit comments