Skip to content

Commit c9bb53b

Browse files
committed
adding __iter__ stub to displayio.Group
1 parent 7c68547 commit c9bb53b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

shared-bindings/displayio/Group.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,11 @@ MP_DEFINE_CONST_FUN_OBJ_2(displayio_group_remove_obj, displayio_group_obj_remove
253253
//| self,
254254
//| item: Union[vectorio.Circle, vectorio.Rectangle, vectorio.Polygon, Group, TileGrid],
255255
//| ) -> bool: ...
256+
//| def __iter__(
257+
//| self,
258+
//| ) -> Iterator[
259+
//| Union[vectorio.Circle, vectorio.Rectangle, vectorio.Polygon, Group, TileGrid]
260+
//| ]: ...
256261
//| def __len__(self) -> int:
257262
//| """Returns the number of layers in a Group"""
258263
//| ...

0 commit comments

Comments
 (0)