From: Noam Cohen Date: Thu, 12 Jan 2023 15:40:29 +0000 (+0200) Subject: Fix typo in `enum` module documentation (#100992) X-Git-Tag: v3.12.0a5~198 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2161bbf243983c625e8f24cdf43b757f2a21463b;p=thirdparty%2FPython%2Fcpython.git Fix typo in `enum` module documentation (#100992) --- 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.