From c126a9c12afc732af10308f0d4b9e9daf45a0548 Mon Sep 17 00:00:00 2001 From: damngamerz Date: Sat, 19 Jul 2025 08:51:09 +0000 Subject: [PATCH] gh-136764: improve comment in enum.verify.__call__ --- Lib/enum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/enum.py b/Lib/enum.py index 538b9cc8e96fc1..c00ae85d2f8efe 100644 --- a/Lib/enum.py +++ b/Lib/enum.py @@ -1991,7 +1991,7 @@ def __call__(self, enumeration): if 2**i not in values: missing.append(2**i) elif enum_type == 'enum': - # check for powers of one + # check for missing consecutive integers for i in range(low+1, high): if i not in values: missing.append(i)