Skip to content

Commit f7be0ee

Browse files
[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 6a1c93a) Co-authored-by: Saurav Singh <sauravsinghshakya@yahoo.com>
1 parent 53aeb82 commit f7be0ee

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
@@ -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)
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