|  | 
| 29 | 29 | DEFAULT_BUFFER_SIZE | 
| 30 | 30 | 
 | 
| 31 | 31 |    An int containing the default buffer size used by the module's buffered | 
| 32 |  | -   I/O classes. | 
| 33 |  | -
 | 
| 34 |  | -MAXIMUM_BUFFER_SIZE | 
| 35 |  | -
 | 
| 36 |  | -   An int containing the maximum buffer size used by the module's buffered | 
| 37 |  | -   I/O classes. | 
|  | 32 | +   I/O classes. open() uses the file's blksize (as obtained by os.stat) if | 
|  | 33 | +   possible. | 
| 38 | 34 | """ | 
| 39 | 35 | # New I/O library conforming to PEP 3116. | 
| 40 | 36 | 
 | 
|  | 
| 50 | 46 |            "BufferedReader", "BufferedWriter", "BufferedRWPair", | 
| 51 | 47 |            "BufferedRandom", "TextIOBase", "TextIOWrapper", | 
| 52 | 48 |            "UnsupportedOperation", "SEEK_SET", "SEEK_CUR", "SEEK_END", | 
| 53 |  | -           "DEFAULT_BUFFER_SIZE", "MAXIMUM_BUFFER_SIZE", "text_encoding", | 
| 54 |  | -           "IncrementalNewlineDecoder"] | 
|  | 49 | +           "DEFAULT_BUFFER_SIZE", "text_encoding", "IncrementalNewlineDecoder"] | 
| 55 | 50 | 
 | 
| 56 | 51 | 
 | 
| 57 | 52 | import _io | 
| 58 | 53 | import abc | 
| 59 | 54 | 
 | 
| 60 |  | -from _io import (DEFAULT_BUFFER_SIZE, MAXIMUM_BUFFER_SIZE, | 
| 61 |  | -                 BlockingIOError, UnsupportedOperation, | 
|  | 55 | +from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation, | 
| 62 | 56 |                  open, open_code, FileIO, BytesIO, StringIO, BufferedReader, | 
| 63 | 57 |                  BufferedWriter, BufferedRWPair, BufferedRandom, | 
| 64 | 58 |                  IncrementalNewlineDecoder, text_encoding, TextIOWrapper) | 
|  | 
0 commit comments