]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in `enum` module documentation (#100992)
authorNoam Cohen <noam@noam.me>
Thu, 12 Jan 2023 15:40:29 +0000 (17:40 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Jan 2023 15:40:29 +0000 (21:10 +0530)
Doc/library/enum.rst

index 47d9e39305d0fdb9650944bab861874dfaf77b95..9d1a297a903ac5a440656d91d3ec11d759a2410d 100644 (file)
@@ -827,7 +827,7 @@ Utilities and Decorators
    ``_generate_next_value_`` can be overridden to customize the values used by
    *auto*.
 
-   .. note:: in 3.13 the default ``"generate_next_value_`` will always return
+   .. note:: in 3.13 the default ``_generate_next_value_`` will always return
              the highest member value incremented by 1, and will fail if any
              member is an incompatible type.