Skip to content

Commit 6b7f5b3

Browse files
committed
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.
1 parent ee1da7e commit 6b7f5b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/howto/mro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ prescription:
189189
the tail of any of the other lists, then add it to the linearization
190190
of C and remove it from the lists in the merge, otherwise look at the
191191
head of the next list and take it, if it is a good head. Then repeat
192-
the operation until all the class are removed or it is impossible to
192+
the operation until all the classes are removed or it is impossible to
193193
find good heads. In this case, it is impossible to construct the
194194
merge, Python 2.3 will refuse to create the class C and will raise an
195195
exception.*

0 commit comments

Comments
 (0)