Commit 59bd2a1
committed
Update to include behavior around None
BufferedReader at least just forwards `None` from the underlying stream.
1. `BufferedReader.read(size=10)` `raw.read(size=10)` returns None
2. `BufferedReader.read()` without size, raw implements `readall()` which returns None
3. `BufferedReader.read()` without size, raw doesn't have readall so uses a loop that calls `raw.read()` which returns None.1 parent b6d319b commit 59bd2a1
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
588 | | - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
589 | 590 | | |
590 | 591 | | |
591 | 592 | | |
| |||
0 commit comments