[Python-checkins] Fix typo in `enum` module documentation (#100992)

kumaraditya303 webhook-mailer at python.org
Thu Jan 12 10:40:36 EST 2023


https://github.com/python/cpython/commit/2161bbf243983c625e8f24cdf43b757f2a21463b
commit: 2161bbf243983c625e8f24cdf43b757f2a21463b
branch: main
author: Noam Cohen <noam at noam.me>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2023-01-12T21:10:29+05:30
summary:

Fix typo in `enum` module documentation (#100992)

files:
M Doc/library/enum.rst

diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 47d9e39305d0..9d1a297a903a 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -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.
 



More information about the Python-checkins mailing list