mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
handles_eof was removed in 4.0
This commit is contained in:
parent
b668db33cd
commit
c2cd5fe3d1
|
@ -541,7 +541,6 @@ class PyDecoder(object):
|
|||
See :ref:`Writing Your Own File Decoder in Python<file-decoders-py>`
|
||||
"""
|
||||
|
||||
_handles_eof = False
|
||||
_pulls_fd = False
|
||||
|
||||
def __init__(self, mode, *args):
|
||||
|
@ -560,10 +559,6 @@ class PyDecoder(object):
|
|||
"""
|
||||
self.args = args
|
||||
|
||||
@property
|
||||
def handles_eof(self):
|
||||
return self._handles_eof
|
||||
|
||||
@property
|
||||
def pulls_fd(self):
|
||||
return self._pulls_fd
|
||||
|
|
|
@ -354,9 +354,6 @@ interest in this object are:
|
|||
member is an opaque struct that can be used by the decoder to store
|
||||
any format specific state or options.
|
||||
|
||||
**handles_eof**
|
||||
UNDONE, set if your code handles EOF errors.
|
||||
|
||||
**pulls_fd**
|
||||
**EXPERIMENTAL** -- **WARNING**, interface may change. If set to 1,
|
||||
``state->fd`` will be a pointer to the Python file like object. The
|
||||
|
|
Loading…
Reference in New Issue
Block a user