Skip to content

Commit 8256bf7

Browse files
committed
Add backticks to function references in docs
1 parent 4b9306a commit 8256bf7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

shared-bindings/displayio/Display.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,16 +222,16 @@ MP_DEFINE_CONST_FUN_OBJ_2(displayio_display_show_obj, displayio_display_obj_show
222222
//| hopefully help getting caught up.
223223
//|
224224
//| If the time since the last successful refresh is below the minimum frame rate, then an
225-
//| exception will be raised. Set minimum_frames_per_second to 0 to disable.
225+
//| exception will be raised. Set ``minimum_frames_per_second`` to 0 to disable.
226+
//|
227+
//| When auto refresh is off, ``display.refresh()`` or ``display.refresh(target_frames_per_second=None)``
228+
//| will update the display immediately.
226229
//|
227230
//| When auto refresh is on, updates the display immediately. (The display will also update
228231
//| without calls to this.)
229232
//|
230-
//| When auto refresh is off, refresh() or refresh(target_frames_per_second=None) will update
231-
//| the display immediately.
232-
//|
233233
//| :param int target_frames_per_second: How many times a second `refresh` should be called and the screen updated.
234-
//| Set to None for immediate refresh.
234+
//| Set to `None` for immediate refresh.
235235
//| :param int minimum_frames_per_second: The minimum number of times the screen should be updated per second."""
236236
//| ...
237237
//|

0 commit comments

Comments
 (0)