Fix problems in the io docs noted by Alexandre Vassalotti

This commit is contained in:
Benjamin Peterson 2008-04-14 21:30:21 +00:00
parent e0313f20c0
commit 9efcc4b319
2 changed files with 6 additions and 9 deletions

View file

@ -437,12 +437,12 @@ Buffered Streams
.. method:: read1()
In :class:`BytesIO`, this is the same as :meth:`read()`.
In :class:`BytesIO`, this is the same as :meth:`read`.
.. method:: truncate([pos])
Truncate the file to at most *pos* bytes. *pos* defaults to the current
stream position, as returned by :meth:`tell()`.
stream position, as returned by :meth:`tell`.
.. class:: BufferedReader(raw[, buffer_size])