Skip to content

Commit 1b894c5

Browse files
committed
fix TileGrid type in docstring
1 parent eb7fc97 commit 1b894c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/tilepalettemapper/TilePaletteMapper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//| bitmap with a wider array of colors."""
2323
//|
2424
//| def __init__(
25-
//| self, palette: displayio.Palette, input_color_count: int, tilegrid: TileGrid
25+
//| self, palette: displayio.Palette, input_color_count: int, tilegrid: displayio.TileGrid
2626
//| ) -> None:
2727
//| """Create a TilePaletteMApper object to store a set of color mappings for tiles.
2828
//|
@@ -94,7 +94,7 @@ MP_PROPERTY_GETTER(tilepalettemapper_tilepalettemapper_palette_obj,
9494
(mp_obj_t)&tilepalettemapper_tilepalettemapper_get_pixel_shader_obj);
9595

9696
//| tilegrid: displayio.TileGrid
97-
//| """The tilegrid that the TilePaletteMapper is used on."""
97+
//| """The TileGrid that the TilePaletteMapper is used with."""
9898
//|
9999
static mp_obj_t tilepalettemapper_tilepalettemapper_obj_get_tilegrid(mp_obj_t self_in) {
100100
tilepalettemapper_tilepalettemapper_t *self = MP_OBJ_TO_PTR(self_in);

0 commit comments

Comments
 (0)