Skip to content

Commit 2a157a1

Browse files
committed
Add stub for colordict
1 parent 7896a55 commit 2a157a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

buildconfig/stubs/pygame/color.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ import sys
22
from collections.abc import Collection, Iterator
33
from typing import Any, ClassVar, SupportsIndex, Union, overload
44

5+
from pygame.colordict import THECOLORS as THECOLORS
56
from pygame.typing import ColorLike
67
from typing_extensions import deprecated # added in 3.13
78

8-
THECOLORS: dict[str, tuple[int, int, int, int]]
9-
109
# Color confirms to the Collection ABC, since it also confirms to
1110
# Sized, Iterable and Container ABCs
1211
class Color(Collection[int]):
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
THECOLORS: dict[str, tuple[int, int, int, int]]

0 commit comments

Comments
 (0)