mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #18758: Fixed and improved cross-references.
This commit is contained in:
parent
24201d497c
commit
bfdcd436f0
40 changed files with 144 additions and 125 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue