From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 12 Jan 2023 15:51:11 +0000 (-0800) Subject: Fix typo in `enum` module documentation (GH-100992) X-Git-Tag: v3.11.2~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=75717645bcf0ce42ccc56154f59ce4604812c50c;p=thirdparty%2FPython%2Fcpython.git Fix typo in `enum` module documentation (GH-100992) (cherry picked from commit 2161bbf243983c625e8f24cdf43b757f2a21463b) Co-authored-by: Noam Cohen --- diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index 26cee1a13acf..0768914c2a9e 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -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.