this seems to be pointlessly nested

This commit is contained in:
Benjamin Peterson 2011-02-24 02:46:00 +00:00
parent a6f85e2270
commit 634ef9cb81
1 changed files with 6 additions and 9 deletions

View File

@ -785,17 +785,14 @@ Text I/O
inherits :class:`codecs.IncrementalDecoder`.
Advanced topics
---------------
Here we will discuss several advanced topics pertaining to the concrete
I/O implementations described above.
Performance
^^^^^^^^^^^
-----------
This section discusses the performance of the provided concrete IO
implementations.
Binary I/O
""""""""""
^^^^^^^^^^
By reading and writing only large chunks of data even when the user asks
for a single byte, buffered I/O is designed to hide any inefficiency in
@ -808,7 +805,7 @@ platform and the backing device. Therefore, it is most always preferable to
use buffered I/O rather than unbuffered I/O.
Text I/O
""""""""
^^^^^^^^
Text I/O over a binary storage (such as a file) is significantly slower than
binary I/O over the same storage, because it implies conversions from