Skip to content

Commit 0cafae7

Browse files
damngamerzmiss-islington
authored andcommitted
gh-136764: improve comment in enum.verify.__call__ (GH-136774)
(cherry picked from commit 6a1c93a) Co-authored-by: Saurav Singh <sauravsinghshakya@yahoo.com>
1 parent 53aeb82 commit 0cafae7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1979,7 +1979,7 @@ def __call__(self, enumeration):
19791979
if 2**i not in values:
19801980
missing.append(2**i)
19811981
elif enum_type == 'enum':
1982-
# check for powers of one
1982+
# check for missing consecutive integers
19831983
for i in range(low+1, high):
19841984
if i not in values:
19851985
missing.append(i)

0 commit comments

Comments
 (0)