]> 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>
Mon, 1 Mar 2021 19:21:05 +0000 (11:21 -0800)
committerGitHub <noreply@github.com>
Mon, 1 Mar 2021 19:21:05 +0000 (11:21 -0800)
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 8836b24912e9e35b3c339ffd216db87c9cdc5813..bbe8bdc82b409121e09e7a673dc815fca1113ed5 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.