Skip to content

Fix docs for PyThreadState_GetDict() in threads.rst#150401

Open
manoj-marimuthu wants to merge 2 commits into
python:mainfrom
manoj-marimuthu:fix-doc-threads-rst
Open

Fix docs for PyThreadState_GetDict() in threads.rst#150401
manoj-marimuthu wants to merge 2 commits into
python:mainfrom
manoj-marimuthu:fix-doc-threads-rst

Conversation

@manoj-marimuthu
Copy link
Copy Markdown

The following PR focusses on fixing 2 sentences for better clarity and readability for the documentation of PyThreadState_GetDict() in threads.rst
The sentences are:

Each extension should use a unique key to use to store state in
the dictionary.
If this function returns
``NULL``, no exception has been raised and the caller should assume no
thread state is attached.

@read-the-docs-community
Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32839446 | 📁 Comparing b5e6fa2 against main (a189e3d)

  🔍 Preview build  

1 file changed
± c-api/threads.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant