Skip to content

Commit c473ff8

Browse files
committed
fix docs formatting
1 parent 7e8bcae commit c473ff8

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

shared-bindings/tilepalettemapper/TilePaletteMapper.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
//| class TilePaletteMapper:
1717
//| """Remaps color indices from the source bitmap to alternate indices on a
18-
//| per-tile basis. This allows for altering coloring of tiles based on
19-
//| their tilegrid location. It also allows for using a limited color
20-
//| bitmap with a wider array of colors."""
18+
//| per-tile basis. This allows for altering coloring of tiles based on
19+
//| their tilegrid location. It also allows for using a limited color
20+
//| bitmap with a wider array of colors."""
2121
//|
2222
//| def __init__(
2323
//| self, palette: displayio.Palette, input_color_count: int, width: int, height: int
@@ -27,10 +27,9 @@
2727
//| :param displayio.Palette palette: The palette to get mapped colors from.
2828
//| :param int input_color_count: The number of colors in in the input bitmap.
2929
//| :param int width: The width of the grid in tiles.
30-
//| :param int height: The height of the grid in tiles.
31-
//| """
32-
//| ...
30+
//| :param int height: The height of the grid in tiles."""
3331
//|
32+
3433
static mp_obj_t tilepalettemapper_tilepalettemapper_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {
3534
enum { ARG_palette, ARG_input_color_count, ARG_width, ARG_height };
3635
static const mp_arg_t allowed_args[] = {

0 commit comments

Comments
 (0)