Skip to content

Fix typo in exceptions.rst#150674

Open
manoj-marimuthu wants to merge 5 commits into
python:mainfrom
manoj-marimuthu:fix-typo-exceptions-rst
Open

Fix typo in exceptions.rst#150674
manoj-marimuthu wants to merge 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 #32936681 | 📁 Comparing c67a9df 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

This function will return ``NULL`` on success, or an error message on error.

This function is meant to debug debug situations such as segfaults, fatal
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please also check that there are no more of these double word typos. If not can you please check there are no more typos in this file? TiA!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@StanFromIreland Have made some tiny changes. No double word typos found, Only small typos.
Also the sentence:

*stack_level* is a
positive number giving a number of stack frames;

seems sketchy . I could modify it if you wish.

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

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants