Skip to content

Commit 43fe2e7

Browse files
committed
Fix typehint in mask
1 parent 14908e1 commit 43fe2e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildconfig/stubs/pygame/mask.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Mask:
4343
) -> Mask: ...
4444
def connected_component(self, pos: Coordinate = ...) -> Mask: ...
4545
def connected_components(self, minimum: int = 0) -> List[Mask]: ...
46-
def get_bounding_rects(self) -> Rect: ...
46+
def get_bounding_rects(self) -> List[Rect]: ...
4747
def to_surface(
4848
self,
4949
surface: Optional[Surface] = None,

0 commit comments

Comments
 (0)