From 4ea1e91ffd644ddf1125db1c782cce6fd4d43363 Mon Sep 17 00:00:00 2001 From: pushfoo <36696816+pushfoo@users.noreply.github.com> Date: Thu, 22 Feb 2024 01:39:01 -0500 Subject: [PATCH] [1841] Add empty __slots__ to arcade.types.Color --- arcade/types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arcade/types.py b/arcade/types.py index f904c5b2ff..5263da3e37 100644 --- a/arcade/types.py +++ b/arcade/types.py @@ -103,6 +103,8 @@ class Color(RGBA255): 0 and 255 """ + __slots__ = () + def __new__(cls, r: int, g: int, b: int, a: int = 255): if not 0 <= r <= 255: