Skip to content

Commit 2049797

Browse files
committed
update type annotations
1 parent 48b3799 commit 2049797

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

buildconfig/stubs/pygame/mask.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ class Mask:
5050
surface: Optional[Surface] = None,
5151
setsurface: Optional[Surface] = None,
5252
unsetsurface: Optional[Surface] = None,
53-
setcolor: Optional[ColorValue] = (255, 255, 255, 255),
54-
unsetcolor: Optional[ColorValue] = (0, 0, 0, 255),
55-
dest: Union[RectValue, Coordinate] = (0, 0),
56-
area: Optional[RectValue] = None,
53+
setcolor: Optional[ColorLike] = (255, 255, 255, 255),
54+
unsetcolor: Optional[ColorLike] = (0, 0, 0, 255),
55+
dest: Union[RectLike, Point] = (0, 0),
56+
area: Optional[RectLike] = None,
5757
) -> Surface: ...
5858

5959
@deprecated("Use `Mask` instead (MaskType is an old alias)")

0 commit comments

Comments
 (0)