summaryrefslogtreecommitdiffstats
path: root/Doc/library/chunk.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/chunk.rst')
-rw-r--r--Doc/library/chunk.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/chunk.rst b/Doc/library/chunk.rst
index c1ba497..ae0a221 100644
--- a/Doc/library/chunk.rst
+++ b/Doc/library/chunk.rst
@@ -54,8 +54,9 @@ instance will fail with a :exc:`EOFError` exception.
Class which represents a chunk. The *file* argument is expected to be a
file-like object. An instance of this class is specifically allowed. The
- only method that is needed is :meth:`read`. If the methods :meth:`seek` and
- :meth:`tell` are present and don't raise an exception, they are also used.
+ only method that is needed is :meth:`~io.IOBase.read`. If the methods
+ :meth:`~io.IOBase.seek` and :meth:`~io.IOBase.tell` are present and don't
+ raise an exception, they are also used.
If these methods are present and raise an exception, they are expected to not
have altered the object. If the optional argument *align* is true, chunks
are assumed to be aligned on 2-byte boundaries. If *align* is false, no