From 6b7f5b3e4d76f9cc035cafcea69c66cdb5219968 Mon Sep 17 00:00:00 2001 From: "Aryan Singh K." <70511529+aryansk@users.noreply.github.com> Date: Mon, 24 Aug 2026 20:31:13 +0530 Subject: [PATCH] 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. --- Doc/howto/mro.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/howto/mro.rst b/Doc/howto/mro.rst index 72cc311e30d669c..5007fa046b9c792 100644 --- a/Doc/howto/mro.rst +++ b/Doc/howto/mro.rst @@ -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.*