Skip to content

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

Merged
kumaraditya303 merged 2 commits into
python:mainfrom
manoj-marimuthu:fix-doc-threads-rst
May 28, 2026
Merged

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

Conversation

@manoj-marimuthu
Copy link
Copy Markdown
Contributor

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

@kumaraditya303 kumaraditya303 enabled auto-merge (squash) May 28, 2026 12:13
@kumaraditya303 kumaraditya303 merged commit 8a22450 into python:main May 28, 2026
36 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants