[3.13] gh-136764: improve comment in enum.verify.__call__ (GH-136774) (GH-136842)

gh-136764: improve comment in enum.verify.__call__ (GH-136774)
(cherry picked from commit 6a1c93af80)

Co-authored-by: Saurav Singh <sauravsinghshakya@yahoo.com>
This commit is contained in:
Miss Islington (bot) 2025-07-19 21:01:42 +02:00 committed by GitHub
parent 53aeb821d4
commit f7be0ee9db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1979,7 +1979,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)