From 5be069568ddbce1d50f785426e6b6c2b82957f70 Mon Sep 17 00:00:00 2001
From: Ethan Furman <ethan@stoneleaf.us>
Date: Mon, 9 May 2022 19:40:42 -0700
Subject: [PATCH] [Enum] Remove redundant check for existing members.
 (GH-92590)

---
 Lib/enum.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Lib/enum.py b/Lib/enum.py
index b9811fe9e67..1df38a6f7e5 100644
--- a/Lib/enum.py
+++ b/Lib/enum.py
@@ -1024,9 +1024,6 @@ def _get_mixins_(mcls, class_name, bases):
         """
         if not bases:
             return object, Enum
-
-        mcls._check_for_existing_members_(class_name, bases)
-
         # ensure final parent class is an Enum derivative, find any concrete
         # data type, and check that Enum has no members
         first_enum = bases[-1]
-- 
GitLab