8000 Fix UART.readline docstring · pepijndevos/circuitpython@bf9f329 · GitHub
[go: up one dir, main page]

Skip to content

Commit bf9f329

Browse files
authored
Fix UART.readline docstring
1 parent b68bb47 commit bf9f329

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

shared-bindings/busio/UART.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,9 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(busio_uart___exit___obj, 4, 4, busio_
222222

223223
//| def readline(self) -> bytes:
224224
//| """Read a line, ending in a newline character, or
225-
//| return None if a timeout occurs sooner, or
226-
//| return everything readable if no newline is found and timeout=0
225+
//| return ``None`` if a timeout occurs sooner, or
226+
//| return everything readable if no newline is found and
227+
//| ``timeout=0``
227228
//|
228229
//| :return: the line read
229230
//| :rtype: bytes or None"""

0 commit comments

Comments
 (0)
0