@@ -58,7 +58,7 @@ STATIC mp_obj_t _register(mp_obj_t self, mp_obj_t o) {
5858}
5959STATIC MP_DEFINE_CONST_FUN_OBJ_2 (register_obj , _register );
6060
61- //| def flush(self, ) -> Any:
61+ //| def flush(self) -> Any:
6262//| """Send any queued drawing commands directly to the hardware.
6363//|
6464//| :param int width: The width of the grid in tiles, or 1 for sprites."""
@@ -559,7 +559,7 @@ STATIC mp_obj_t _colorrgb(size_t n_args, const mp_obj_t *args) {
559559}
560560STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN (colorrgb_obj , 4 , 4 , _colorrgb );
561561
562- //| def Display(self, ) -> Any: ...
562+ //| def Display(self) -> Any: ...
563563//| """End the display list"""
564564//|
565565
@@ -570,7 +570,7 @@ STATIC mp_obj_t _display(mp_obj_t self) {
570570}
571571STATIC MP_DEFINE_CONST_FUN_OBJ_1 (display_obj , _display );
572572
573- //| def End(self, ) -> Any:
573+ //| def End(self) -> Any:
574574//| """End drawing a graphics primitive
575575//|
576576//| :meth:`Vertex2ii` and :meth:`Vertex2f` calls are ignored until the next :meth:`Begin`."""
@@ -628,7 +628,7 @@ STATIC mp_obj_t _macro(mp_obj_t self, mp_obj_t a0) {
628628}
629629STATIC MP_DEFINE_CONST_FUN_OBJ_2 (macro_obj , _macro );
630630
631- //| def Nop(self, ) -> Any:
631+ //| def Nop(self) -> Any:
632632//| """No operation"""
633633//| ...
634634//|
@@ -672,7 +672,7 @@ STATIC mp_obj_t _pointsize(mp_obj_t self, mp_obj_t a0) {
672672}
673673STATIC MP_DEFINE_CONST_FUN_OBJ_2 (pointsize_obj , _pointsize );
674674
675- //| def RestoreContext(self, ) -> Any:
675+ //| def RestoreContext(self) -> Any:
676676//| """Restore the current graphics context from the context stack"""
677677//| ...
678678//|
@@ -684,7 +684,7 @@ STATIC mp_obj_t _restorecontext(mp_obj_t self) {
684684}
685685STATIC MP_DEFINE_CONST_FUN_OBJ_1 (restorecontext_obj , _restorecontext );
686686
687- //| def Return(self, ) -> Any:
687+ //| def Return(self) -> Any:
688688//| """Return from a previous call command"""
689689//| ...
690690//|
@@ -696,7 +696,7 @@ STATIC mp_obj_t _return(mp_obj_t self) {
696696}
697697STATIC MP_DEFINE_CONST_FUN_OBJ_1 (return_obj , _return );
698698
699- //| def SaveContext(self, ) -> Any:
699+ //| def SaveContext(self) -> Any:
700700//| """Push the current graphics context on the context stack"""
701701//| ...
702702//|
0 commit comments