8000 Update write() function definition · pepijndevos/circuitpython@0d8dab7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d8dab7

Browse files
authored
Update write() function definition
1 parent bf9f329 commit 0d8dab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/busio/UART.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(busio_uart___exit___obj, 4, 4, busio_
231231
//| ...
232232
//|
233233

234-
//| def write(self, buf: WriteableBuffer) -> Optional[int]:
234+
//| def write(self, buf: ReadableBuffer) -> Optional[int]:
235235
//| """Write the buffer of bytes to the bus.
236236
//|
237237
//| *New in CircuitPython 4.0:* ``buf`` must be bytes, not a string.

0 commit comments

Comments
 (0)
0