Fix typos in C API documentation#149588
Open
lpyu001 wants to merge 1 commit intopython:mainfrom
Open
Conversation
Documentation build overview
|
skirpichev
approved these changes
May 9, 2026
StanFromIreland
approved these changes
May 9, 2026
picnixz
reviewed
May 9, 2026
| void PyCriticalSection2_BeginMutex(PyCriticalSection2 *c, PyMutex *m1, PyMutex *m2); | ||
|
|
||
| .. (These need to be in a separate section without a Stable ABI anotation.) | ||
| .. (These need to be in a separate section without a Stable ABI annotation.) |
Member
There was a problem hiding this comment.
Strictly speaking, this is not user-facing because it's an rST comment so if we really want to restrict our attention to visible typos, we can revert that change.
Member
There was a problem hiding this comment.
IMO it's fine, we're going to merge the other fixes anyway.
Member
There was a problem hiding this comment.
There are no other fixes in synchronization.rst. I think we can revert that part so that we only fix typos in Doc/c-api/slots.rst.
Member
There was a problem hiding this comment.
I am also surprised that thre are only typos in slots.rst and synchronization.rst and not elsewhre.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes three small typos in the C API documentation:
Doc/c-api/slots.rst:Doc/c-api/synchronization.rst:No behavioural change, no API change. Trivial documentation fixes only.