mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
gh-136764: improve comment in enum.verify.__call__ (GH-136774)
This commit is contained in:
parent
f575588ccf
commit
6a1c93af80
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue