diff --git a/PIL/ImageFile.py b/PIL/ImageFile.py index edce2fb5a..7406f5752 100644 --- a/PIL/ImageFile.py +++ b/PIL/ImageFile.py @@ -541,7 +541,6 @@ class PyDecoder(object): See :ref:`Writing Your Own File Decoder in Python` """ - _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 diff --git a/docs/handbook/writing-your-own-file-decoder.rst b/docs/handbook/writing-your-own-file-decoder.rst index ed1f2dc34..07468dc4a 100644 --- a/docs/handbook/writing-your-own-file-decoder.rst +++ b/docs/handbook/writing-your-own-file-decoder.rst @@ -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