Skip to content

Two typos in 'Exception Handling' C-API documentation#150674

Merged
StanFromIreland merged 5 commits into
python:mainfrom
manoj-marimuthu:fix-typo-exceptions-rst
Jun 2, 2026
Merged

Two typos in 'Exception Handling' C-API documentation#150674
StanFromIreland merged 5 commits into
python:mainfrom
manoj-marimuthu:fix-typo-exceptions-rst

Conversation

@manoj-marimuthu
Copy link
Copy Markdown
Contributor

This PR addresses minor typos in Doc/c-api/exceptions.rst by fixing the 2 following statements for better clarity and readability.

If *current_tstate* is not ``NULL`` then it will be used to identify what the
current thread is in the written output

and

This function is meant to debug debug situations such as segfaults, fatal
errors, and similar.

@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news awaiting review labels May 31, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs May 31, 2026
@manoj-marimuthu manoj-marimuthu changed the title Fix typo exceptions rst Fix typo in exceptions.rst May 31, 2026
@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented May 31, 2026

Documentation build overview

📚 cpython-previews | 🛠️ Build #32936822 | 📁 Comparing fb9ba6c against main (2f8f569)

  🔍 Preview build  

4 files changed
± c-api/exceptions.html
± library/array.html
± whatsnew/3.16.html
± whatsnew/changelog.html

Comment thread Doc/c-api/exceptions.rst Outdated
Comment thread Doc/c-api/exceptions.rst
Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StanFromIreland StanFromIreland changed the title Fix typo in exceptions.rst Two typos in 'Exception Handling' C-API documentation Jun 1, 2026
@StanFromIreland StanFromIreland added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jun 2, 2026
@StanFromIreland StanFromIreland merged commit cee3327 into python:main Jun 2, 2026
40 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jun 2, 2026
@miss-islington-app
Copy link
Copy Markdown

Thanks @manoj-marimuthu for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@miss-islington-app
Copy link
Copy Markdown

Sorry, @manoj-marimuthu and @StanFromIreland, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker cee3327b9264a653cdbd2f9bb1ffa74a95be66e9 3.14

@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented Jun 2, 2026

GH-150772 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jun 2, 2026
@miss-islington-app
Copy link
Copy Markdown

Sorry, @manoj-marimuthu and @StanFromIreland, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker cee3327b9264a653cdbd2f9bb1ffa74a95be66e9 3.13

@StanFromIreland
Copy link
Copy Markdown
Member

@manoj-marimuthu can you please do the backports (see bot comment for instructions)?

StanFromIreland pushed a commit that referenced this pull request Jun 2, 2026
…150674) (#150772)

(cherry picked from commit cee3327)

Co-authored-by: Manoj K M <manojkm24dev@gmail.com>
@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented Jun 2, 2026

GH-150777 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jun 2, 2026
@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented Jun 2, 2026

GH-150778 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jun 2, 2026
@manoj-marimuthu
Copy link
Copy Markdown
Contributor Author

@StanFromIreland Done. Here are the links:
#150778
#150777

StanFromIreland pushed a commit that referenced this pull request Jun 2, 2026
StanFromIreland pushed a commit that referenced this pull request Jun 2, 2026
@StanFromIreland
Copy link
Copy Markdown
Member

Thanks @manoj-marimuthu

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

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants