Skip to content

Commit 2b302da

Browse files
peterhinchdpgeorge
authored andcommitted
docs: Update pyb.UART.any() to mention that it returns character count.
1 parent 6d5a549 commit 2b302da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/library/pyb.UART.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Methods
103103

104104
.. method:: uart.any()
105105

106-
Return ``True`` if any characters waiting, else ``False``.
106+
Returns the number of characters waiting (may be 0).
107107

108108
.. method:: uart.writechar(char)
109109

0 commit comments

Comments
 (0)