circuitpython/shared-bindings
AndrewR-L f572b72306
busio/UART: Correct and clarify readline() return.
Surely readline() "rtype" is string not int as stated (and not bytes as some might expect).

Also it is not totally unambiguous what happens on a timeout so it would help to clarify in docs that on a timeout 
it does NOT return with what it has read so far, rather it leaves all that in the buffer ready for a future read and returns nothing.

Likewise clarify that if timeout=0 but there is no newline it DOES return what it has read so far (NOT None). 

At least this is what I think it does and/or is supposed to do!

Python docs are generally not too explicit about what is the proper treatment, so perhaps all the more reason to
clarify the interpretation adopted?
2020-04-17 15:10:36 +01:00
..
2020-02-13 07:28:21 -08:00
2019-10-27 16:42:18 -05:00
2020-01-06 09:26:32 -06:00
2019-08-25 14:57:29 -05:00
2019-08-27 12:49:46 -07:00
2019-06-18 16:59:05 -05:00
2018-08-07 14:58:57 -07:00
2019-11-15 13:04:25 -05:00
2019-12-13 14:29:15 -05:00
2019-12-13 14:29:15 -05:00
2019-10-23 15:48:34 -07:00
2018-12-30 22:49:20 -05:00
2019-05-30 19:02:47 -07:00