Skip to content

Commit 45801dd

Browse files
author
Antonis
committed
fix
1 parent 7ca9d1c commit 45801dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

buildconfig/stubs/pygame/color.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,8 @@ class Color(Collection[int]):
7878
@overload
7979
@classmethod
8080
def from_normalized(cls, r: float, g: float, b: float, a: float, /) -> Color: ...
81-
@overload
8281
@classmethod
83-
def from_hex(cls, hex:str, /) -> Color: ...
82+
def from_hex(cls, hex: str, /) -> Color: ...
8483
def normalize(self) -> tuple[float, float, float, float]: ...
8584
def correct_gamma(self, gamma: float, /) -> Color: ...
8685
@deprecated("since 2.1.3. Use unpacking instead")

0 commit comments

Comments
 (0)