]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-136764: improve comment in enum.verify.__call__ (GH-136774)
authorSaurav Singh <sauravsinghshakya@yahoo.com>
Sat, 19 Jul 2025 12:55:02 +0000 (14:55 +0200)
committerGitHub <noreply@github.com>
Sat, 19 Jul 2025 12:55:02 +0000 (05:55 -0700)
Lib/enum.py

index 538b9cc8e96fc150910d15ffe1e4a5070a080987..c00ae85d2f8efe065918b1ca89350b982ad05298 100644 (file)
@@ -1991,7 +1991,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)