Skip to content

Commit e1dd396

Browse files
committed
fix stub docs
1 parent 58679dc commit e1dd396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/bitmaptools/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ STATIC mp_obj_t bitmaptools_obj_draw_line(size_t n_args, const mp_obj_t *pos_arg
358358
MP_DEFINE_CONST_FUN_OBJ_KW(bitmaptools_draw_line_obj, 0, bitmaptools_obj_draw_line);
359359
// requires all 6 arguments
360360

361-
//| def arrayblit(bitmap: display.Bitmap, data: ReadableBuffer, x1: int=0, y1: int=0, x2: Optional[int]=None, y2: Optional[int]=None, skip_index:Optional[int]=None) -> None:
361+
//| def arrayblit(bitmap: displayio.Bitmap, data: ReadableBuffer, x1: int=0, y1: int=0, x2: Optional[int]=None, y2: Optional[int]=None, skip_index:Optional[int]=None) -> None:
362362
//| """Inserts pixels from ``data`` into the rectangle of width×height pixels with the upper left corner at ``(x,y)``
363363
//|
364364
//| The values from ``data`` are taken modulo the number of color values
@@ -384,7 +384,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(bitmaptools_draw_line_obj, 0, bitmaptools_obj_draw_li
384384
//| :param int x2: The right of the area to blit into (exclusive)
385385
//| :param int y2: The bottom corner of the area to blit into (exclusive)
386386
//| :param int skip_index: Bitmap palette index in the source that will not be copied,
387-
//| set to None to copy all pixels"""
387+
//| set to None to copy all pixels
388388
//| """
389389
//| ...
390390
//|

0 commit comments

Comments
 (0)