Fix UART.readline docstring

This commit is contained in:
Alec Delaney 2022-08-30 11:12:47 -04:00 committed by GitHub
parent b68bb47be6
commit bf9f329a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -222,8 +222,9 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(busio_uart___exit___obj, 4, 4, busio_
//| def readline(self) -> bytes:
//| """Read a line, ending in a newline character, or
//| return None if a timeout occurs sooner, or
//| return everything readable if no newline is found and timeout=0
//| return ``None`` if a timeout occurs sooner, or
//| return everything readable if no newline is found and
//| ``timeout=0``
//|
//| :return: the line read
//| :rtype: bytes or None"""