]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix grammar in enum documentation. (GH-24689)
authorMariatta Wijaya <Mariatta@users.noreply.github.com>
Mon, 1 Mar 2021 18:56:03 +0000 (10:56 -0800)
committerGitHub <noreply@github.com>
Mon, 1 Mar 2021 18:56:03 +0000 (10:56 -0800)
There is an extra `s` in the singular word `method`.
Reported in docs mailing list by Steven Nguyen.

Automerge-Triggered-By: GH:Mariatta
Doc/library/enum.rst

index 4d6f2c36336138c1b30ad0e29ce781ddbda62d3a..b7f269464e794530cb827108c88227da014a7f0d 100644 (file)
@@ -282,7 +282,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.