summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/io.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index ec0d51e..a3e492e 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -248,14 +248,14 @@ I/O Base Classes
RawIOBase provides or overrides these methods in addition to those from
:class:`IOBase`:
- .. method:: RawIOBase.read([n])
+ .. method:: read([n])
Read and return all bytes from the stream until EOF, or if *n* is
specified, up to *n* bytes. An empty bytes object is returned on EOF;
``None`` is returned if the object is set not to block and has no data to
read.
- .. method:: RawIOBase.readall()
+ .. method:: readall()
Read and return all bytes from the stream until EOF.