Skip to content

Commit 07059dd

Browse files
Minor docs fixes in displayio.Bitmap
1 parent 8f73270 commit 07059dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

shared-bindings/displayio/Bitmap.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@
4545
//| the bitmap data is packed into the memoryview with unspecified padding.
4646
//|
4747
//| A Bitmap can be treated as a buffer, allowing its content to be
48-
//| viewed and modified using e.g., with ``ulab.numpy.frombuffer``,
48+
//| viewed and modified using e.g., with `ulab.numpy.frombuffer`,
4949
//| but the `displayio.Bitmap.dirty` method must be used to inform
5050
//| displayio when a bitmap was modified through the buffer interface.
5151
//|
52-
//| `bitmaptools.arrayblit` can also be useful to omve data efficiently
52+
//| `bitmaptools.arrayblit` can also be useful to move data efficiently
5353
//| into a Bitmap.
5454
//| """
5555
//|
@@ -125,7 +125,7 @@ const mp_obj_property_t displayio_bitmap_height_obj = {
125125

126126
//| def __getitem__(self, index: Union[Tuple[int, int], int]) -> int:
127127
//| """Returns the value at the given index. The index can either be an x,y tuple or an int equal
128-
//| to ``y * width + x``.
128+
//| to `y * width + x`.
129129
//|
130130
//| This allows you to::
131131
//|
@@ -134,7 +134,7 @@ const mp_obj_property_t displayio_bitmap_height_obj = {
134134
//|
135135
//| def __setitem__(self, index: Union[Tuple[int, int], int], value: int) -> None:
136136
//| """Sets the value at the given index. The index can either be an x,y tuple or an int equal
137-
//| to ``y * width + x``.
137+
//| to `y * width + x`.
138138
//|
139139
//| This allows you to::
140140
//|

0 commit comments

Comments
 (0)