From: Saurav Singh Date: Sat, 19 Jul 2025 12:55:02 +0000 (+0200) Subject: gh-136764: improve comment in enum.verify.__call__ (GH-136774) X-Git-Tag: v3.15.0a1~937 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a1c93af806d0ca5d3fb86cd183d00013bbf28d1;p=thirdparty%2FPython%2Fcpython.git gh-136764: improve comment in enum.verify.__call__ (GH-136774) --- diff --git a/Lib/enum.py b/Lib/enum.py index 538b9cc8e96f..c00ae85d2f8e 100644 --- a/Lib/enum.py +++ b/Lib/enum.py @@ -1991,7 +1991,7 @@ class verify: 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)