From cf5dbb47a2aab02f65c5b25ee1b4886e1b3dfd16 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 8 Nov 2022 16:51:04 -0800 Subject: [Enum] Typo: fix DuplicateFreeEnum example docs (GH-99265) (cherry picked from commit b3bd69c1bfb431fe75cc301f97494f9f98df2a19) Co-authored-by: Bruno Neyra <112962296+blv-brunoneyra@users.noreply.github.com> --- Doc/howto/enum.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst index bad5e50..72e3ece 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): -- cgit v0.12