Issue #18758: Fixed and improved cross-references.

This commit is contained in:
Serhiy Storchaka 2013-10-13 23:09:14 +03:00
parent 24201d497c
commit bfdcd436f0
40 changed files with 144 additions and 125 deletions

View file

@ -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