diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-04-14 21:30:21 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-04-14 21:30:21 (GMT) |
commit | 9efcc4b3196b9f7c3789468658a1a5017e787534 (patch) | |
tree | c96eb3de70c1f6bc3a2756c65f9e03a4a024f64f /Doc/library/io.rst | |
parent | e0313f20c0a2e394b8e9606f415316f73c840a16 (diff) | |
download | cpython-9efcc4b3196b9f7c3789468658a1a5017e787534.zip cpython-9efcc4b3196b9f7c3789468658a1a5017e787534.tar.gz cpython-9efcc4b3196b9f7c3789468658a1a5017e787534.tar.bz2 |
Fix problems in the io docs noted by Alexandre Vassalotti
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r-- | Doc/library/io.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst index f705c30..4fb79b9 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -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]) |