diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-05-29 19:13:29 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-05-29 19:13:29 (GMT) |
commit | a327000bddd276143fd771eb934980d30b674408 (patch) | |
tree | c550b05440e61272a92d1800b2b54cf19fc5e96d | |
parent | 812d8341ea75d39d481bccfbfb03f7ee8626a47a (diff) | |
download | cpython-a327000bddd276143fd771eb934980d30b674408.zip cpython-a327000bddd276143fd771eb934980d30b674408.tar.gz cpython-a327000bddd276143fd771eb934980d30b674408.tar.bz2 |
Fix typo.
-rw-r--r-- | Lib/io.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -636,7 +636,7 @@ class BufferedReader(_BufferedIOMixin): """Read n bytes. Returns exactly n bytes of data unless the underlying raw IO - stream reaches EOF of if the call would block in non-blocking + stream reaches EOF or if the call would block in non-blocking mode. If n is negative, read until EOF or until read() would block. """ @@ -647,6 +647,7 @@ class BufferedReader(_BufferedIOMixin): to_read = max(self.buffer_size, n if n is not None else 2*len(self._read_buf)) current = self.raw.read(to_read) + print(to_read, repr(current)) if current in (b"", None): nodata_val = current break |