Skip to content

Commit 1c7ad5a

Browse files
committed
Correctly type DirtySprite.source_rect as Optional
1 parent 8d13367 commit 1c7ad5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildconfig/stubs/pygame/sprite.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class Sprite(_HasImageAndRect):
6868
class DirtySprite(Sprite):
6969
dirty: int
7070
blendmode: int
71-
source_rect: Union[FRect, Rect]
71+
source_rect: Optional[Union[FRect, Rect]]
7272
visible: int
7373
_layer: int
7474

0 commit comments

Comments
 (0)