Add precise values for enum members where possible (#11299)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
authored and GitHub committed 2024-04-22 15:10:59 +01:00
1 parent b3bfbefa7f
commit 17f1c4628a
36 files changed
+1093 -1087

No files matched your search

+3 -3
View File
@@ -7,9 +7,9 @@ from typing_extensions import TypeAlias
_FieldsType: TypeAlias = tuple[int, int, int, int, int, int]
class SafeUUID(Enum):
safe: int
unsafe: int
unknown: None
safe = 0
unsafe = -1
unknown = None
class UUID:
def __init__(