Skip to content

Commit c126a9c

Browse files
committed
gh-136764: improve comment in enum.verify.__call__
1 parent 60146f4 commit c126a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,7 @@ def __call__(self, enumeration):
19911991
if 2**i not in values:
19921992
missing.append(2**i)
19931993
elif enum_type == 'enum':
1994-
# check for powers of one
1994+
# check for missing consecutive integers
19951995
for i in range(low+1, high):
19961996
if i not in values:
19971997
missing.append(i)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy