GeezerVison is showing github.com — gh-156233: Fix grammar in MRO documentation by aryansk · Pull Request #156320 · python/cpython
Conversation
aryansk
commented
Aug 24, 2026
•
edited by bedevere-app
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #156233
Problem
Doc/howto/mro.rst contains a grammar typo:
Then repeat the operation until all the class are removed or it is impossible to find good heads.
Singular "class" disagrees with plural verb "are". The sentence describes removing multiple classes during MRO merge, so plural "classes" is correct.
Issue: #156233
Source: Doc/howto/mro.rst:192 (Doc/howto/mro.html#python-2-3-mro)
Change
- Fix
Doc/howto/mro.rst:192 from all the class are removed → all the classes are removed
- Keep unrelated cleanup out of this PR
Why this approach
Minimal one-line docs fix matching the issue's suggested correction. No code or behavior change.
Testing
command: git diff --check
result: clean
command: grep -n "all the class" Doc/howto/mro.rst
result: no matches (fixed)
command: grep -n "all the classes are removed" Doc/howto/mro.rst
result: 192: the operation until all the classes are removed or it is impossible to
Doc build: Doc/howto/mro.rst renders as before with corrected grammar; no functional tests required for docs-only change.
Documentation and release impact
- User-facing documentation updated
- Changelog/release note needed: docs fix, no NEWS blurb required per CPython docs-only convention (trivial typo)
- Migration or compatibility note needed
- No documentation impact
Review notes
- Known limitations: none
- Follow-up issue, if any: none
- Security/licensing considerations: none
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Fixes python#156233
The sentence "Then repeat the operation until all the class are
removed..." incorrectly uses singular "class".
Change to "all the classes are removed" to match plural subject.
Validation: git diff --check clean; verified rendering of
Doc/howto/mro.rst via local inspection.
|
All commit authors signed the Contributor License Agreement.

|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
willy-b
commented
Aug 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks very much for sharing this.
However, I think this is now redundant with #156475 (I had already agreed to fix this issue I discovered/reported before you opened this PR) which also fixes another typo and a couple of code snippet errors, so you can probably go ahead and close this PR.
If you would like me, going forward, to provide you suspected typos and other documentation errors to send PRs for and follow to resolution, let me know and I can divvy up what I find in the future and offer to assign some to you.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Btw @aryansk I messaged you on LinkedIn on 2026-09-13 with another typo that you can report and fix if you want (not sure if you check your LinkedIn). I also have another open source issue that I won't be able to get to for several days at least, if you reply to me on LinkedIn so I am allowed to send you another PM, I can send that to you as well. For that one you would be making real code changes in a Python org associated project (no guarantees on whether they would accept them or not).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|