]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix grammar in enum documentation. (GH-24689)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 1 Apr 2021 00:10:37 +0000 (17:10 -0700)
committerGitHub <noreply@github.com>
Thu, 1 Apr 2021 00:10:37 +0000 (17:10 -0700)
There is an extra `s` in the singular word `method`.
Reported in docs mailing list by Steven Nguyen.

Automerge-Triggered-By: GH:Mariatta
(cherry picked from commit f193874056fb185305084b79b32d2745ce9be7cf)

Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
Doc/library/enum.rst

index c7e2b109c35132c9998646dc373c651b8819f66e..40499eb93a1ad0dd4e46cb552d96f5e139f967ed 100644 (file)
@@ -276,7 +276,7 @@ overridden::
 
 .. note::
 
-    The goal of the default :meth:`_generate_next_value_` methods is to provide
+    The goal of the default :meth:`_generate_next_value_` method is to provide
     the next :class:`int` in sequence with the last :class:`int` provided, but
     the way it does this is an implementation detail and may change.