From 0cafae798003f8f5c01ba42083d09798a15f2b2f Mon Sep 17 00:00:00 2001 From: Saurav Singh Date: Sat, 19 Jul 2025 14:55:02 +0200 Subject: [PATCH] gh-136764: improve comment in enum.verify.__call__ (GH-136774) (cherry picked from commit 6a1c93af806d0ca5d3fb86cd183d00013bbf28d1) Co-authored-by: Saurav Singh --- Lib/enum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/enum.py b/Lib/enum.py index e9fc1a7fa73465..51074404af324c 100644 --- a/Lib/enum.py +++ b/Lib/enum.py @@ -1979,7 +1979,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) 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