mirror of
https://github.com/python/cpython.git
synced 2025-08-23 18:24:46 +00:00
[3.13] gh-136764: improve comment in enum.verify.__call__ (GH-136774) (GH-136842)
Some checks are pending
Tests / Address sanitizer (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Some checks are pending
Tests / Address sanitizer (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
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:
parent
53aeb821d4
commit
f7be0ee9db
1 changed files with 1 additions and 1 deletions
|
@ -1979,7 +1979,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue