Skip to content

Commit d334bb3

Browse files
authored
[1841] Add empty __slots__ to arcade.types.Color (#1982)
1 parent cc987ca commit d334bb3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arcade/types.py

+2
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ class Color(RGBA255):
103103
0 and 255
104104
"""
105105

106+
__slots__ = ()
107+
106108
def __new__(cls, r: int, g: int, b: int, a: int = 255):
107109

108110
if not 0 <= r <= 255:

0 commit comments

Comments
 (0)