@@ -290,7 +290,7 @@ class Surface:
290
290
def convert (self , masks : ColorLike , flags : int = 0 , / ) -> Surface : ...
291
291
@overload
292
292
def convert (self ) -> Surface : ...
293
- def convert (self , * args ):
293
+ def convert (self , * args ): # type: ignore
294
294
"""Change the pixel format of a surface.
295
295
296
296
Creates a new copy of the Surface with the pixel format changed. The new
@@ -401,7 +401,7 @@ class Surface:
401
401
def set_colorkey (self , color : ColorLike , flags : int = 0 , / ) -> None : ...
402
402
@overload
403
403
def set_colorkey (self , color : None , / ) -> None : ...
404
- def set_colorkey (self , * args ):
404
+ def set_colorkey (self , * args ): # type: ignore
405
405
"""Set the transparent colorkey.
406
406
407
407
Set the current color key for the Surface. When blitting this Surface
@@ -429,7 +429,7 @@ class Surface:
429
429
def set_alpha (self , value : int , flags : int = 0 , / ) -> None : ...
430
430
@overload
431
431
def set_alpha (self , value : None , / ) -> None : ...
432
- def set_alpha (self , * args ):
432
+ def set_alpha (self , * args ): # type: ignore
433
433
"""Set the alpha value for the full Surface.
434
434
435
435
Set the current alpha value for the Surface. When blitting this Surface
@@ -679,7 +679,7 @@ class Surface:
679
679
def subsurface (
680
680
self , left : float , top : float , width : float , height : float , /
681
681
) -> Surface : ...
682
- def subsurface (self , * args ):
682
+ def subsurface (self , * args ): # type: ignore
683
683
"""Create a new surface that references its parent.
684
684
685
685
Returns a new Surface that shares its pixels with its new parent. The new
0 commit comments