adding __iter__ stub to displayio.Group

This commit is contained in:
foamyguy 2023-05-11 07:52:03 -05:00
parent 7c685477ba
commit c9bb53b48a

View File

@ -253,6 +253,11 @@ MP_DEFINE_CONST_FUN_OBJ_2(displayio_group_remove_obj, displayio_group_obj_remove
//| self,
//| item: Union[vectorio.Circle, vectorio.Rectangle, vectorio.Polygon, Group, TileGrid],
//| ) -> bool: ...
//| def __iter__(
//| self,
//| ) -> Iterator[
//| Union[vectorio.Circle, vectorio.Rectangle, vectorio.Polygon, Group, TileGrid]
//| ]: ...
//| def __len__(self) -> int:
//| """Returns the number of layers in a Group"""
//| ...