Skip to content

Commit bc0fdaa

Browse files
committed
fix tilegrid.contains() docstring
1 parent 87f4cd6 commit bc0fdaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/displayio/TileGrid.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ MP_PROPERTY_GETSET(displayio_tilegrid_transpose_xy_obj,
323323
(mp_obj_t)&displayio_tilegrid_set_transpose_xy_obj);
324324

325325
//| def contains(self, touch_tuple: tuple) -> bool:
326-
//| """returns true if first two values in touch_tuple represent an x,y coordinate
327-
//| inside the tilegrid rectangle bounds"""
326+
//| """Returns True if the first two values in ``touch_tuple`` represent an x,y coordinate
327+
//| inside the tilegrid rectangle bounds."""
328328
//|
329329
STATIC mp_obj_t displayio_tilegrid_obj_contains(mp_obj_t self_in, mp_obj_t touch_tuple) {
330330
displayio_tilegrid_t *self = MP_OBJ_TO_PTR(self_in);

0 commit comments

Comments
 (0)