]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in `enum` module documentation (GH-100992)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 12 Jan 2023 15:51:11 +0000 (07:51 -0800)
committerGitHub <noreply@github.com>
Thu, 12 Jan 2023 15:51:11 +0000 (07:51 -0800)
(cherry picked from commit 2161bbf243983c625e8f24cdf43b757f2a21463b)

Co-authored-by: Noam Cohen <noam@noam.me>
Doc/library/enum.rst

index 26cee1a13acf9451e3c6cfddf175fd90db4d881a..0768914c2a9eab6ecd664f1eaf611d0dfc8eb892 100644 (file)
@@ -819,7 +819,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.