mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
stdlib: add __slots__ (#14611)
This commit is contained in:
@@ -12,6 +12,7 @@ class SafeUUID(Enum):
|
||||
unknown = None
|
||||
|
||||
class UUID:
|
||||
__slots__ = ("int", "is_safe", "__weakref__")
|
||||
def __init__(
|
||||
self,
|
||||
hex: str | None = None,
|
||||
|
||||
Reference in New Issue
Block a user