Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-156233: Fix grammar in MRO documentation
Fixes #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.
  • Loading branch information
aryansk committed Aug 24, 2026
commit 6b7f5b3e4d76f9cc035cafcea69c66cdb5219968
2 changes: 1 addition & 1 deletion Doc/howto/mro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ prescription:
the tail of any of the other lists, then add it to the linearization
of C and remove it from the lists in the merge, otherwise look at the
head of the next list and take it, if it is a good head. Then repeat
the operation until all the class are removed or it is impossible to
the operation until all the classes are removed or it is impossible to
find good heads. In this case, it is impossible to construct the
merge, Python 2.3 will refuse to create the class C and will raise an
exception.*
Expand Down
Loading