[Python-checkins] [Enum] Typo: fix DuplicateFreeEnum example docs (GH-99265)

miss-islington webhook-mailer at python.org
Tue Nov 8 19:51:14 EST 2022


https://github.com/python/cpython/commit/cf5dbb47a2aab02f65c5b25ee1b4886e1b3dfd16
commit: cf5dbb47a2aab02f65c5b25ee1b4886e1b3dfd16
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-11-08T16:51:04-08:00
summary:

[Enum] Typo: fix DuplicateFreeEnum example docs (GH-99265)

(cherry picked from commit b3bd69c1bfb431fe75cc301f97494f9f98df2a19)

Co-authored-by: Bruno Neyra <112962296+blv-brunoneyra at users.noreply.github.com>

files:
M Doc/howto/enum.rst

diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst
index bad5e508b019..72e3ece5959b 100644
--- a/Doc/howto/enum.rst
+++ b/Doc/howto/enum.rst
@@ -1310,7 +1310,7 @@ enumerations)::
 DuplicateFreeEnum
 ^^^^^^^^^^^^^^^^^
 
-Raises an error if a duplicate member name is found instead of creating an
+Raises an error if a duplicate member value is found instead of creating an
 alias::
 
     >>> class DuplicateFreeEnum(Enum):



More information about the Python-checkins mailing list