Skip to content

Commit 50f3d53

Browse files
committed
fix formatting and typo in docs
1 parent 332f5dd commit 50f3d53

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

shared-bindings/tilepalettemapper/TilePaletteMapper.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
//| class TilePaletteMapper:
1717
//| """Contains a displayio.Palette a series of mappings from one palette color_index to another palette color_index.
18-
//| One mapping for tile in a 2D grid. Can be set as the pixel_shader for a TileGrid to re-map the colors for
19-
//| spedific tile(s) within the TileGrid."""
18+
//| One mapping for tile in a 2D grid. Can be set as the pixel_shader for a TileGrid to re-map the colors for
19+
//| specific tile(s) within the TileGrid."""
2020
//|
2121
//| def __init__(self, palette: displayio.Palette, width: int, height: int) -> None:
22-
//| """Create a TilePaletteMApper object to store a set color mappings for tiles.
22+
//| """Create a TilePaletteMApper object to store a set of color mappings for tiles.
2323
//|
2424
//| :param displayio.Palette palette: The palette to get mapped colors from.
2525
//| :param int width: The width of the grid in tiles.
@@ -71,6 +71,7 @@ MP_PROPERTY_GETTER(tilepalettemapper_tilepalettemapper_height_obj,
7171

7272
//| palette: displayio.Palette
7373
//| """The palette that the mapper uses."""
74+
//|
7475
static mp_obj_t tilepalettemapper_tilepalettemapper_obj_get_palette(mp_obj_t self_in) {
7576
tilepalettemapper_tilepalettemapper_t *self = MP_OBJ_TO_PTR(self_in);
7677
return common_hal_tilepalettemapper_tilepalettemapper_get_palette(self);

0 commit comments

Comments
 (0)