handles_eof was removed in 4.0

This commit is contained in:
wiredfool 2017-02-23 02:19:32 -08:00
parent b668db33cd
commit c2cd5fe3d1
2 changed files with 0 additions and 8 deletions

View File

@ -541,7 +541,6 @@ class PyDecoder(object):
See :ref:`Writing Your Own File Decoder in Python<file-decoders-py>` See :ref:`Writing Your Own File Decoder in Python<file-decoders-py>`
""" """
_handles_eof = False
_pulls_fd = False _pulls_fd = False
def __init__(self, mode, *args): def __init__(self, mode, *args):
@ -560,10 +559,6 @@ class PyDecoder(object):
""" """
self.args = args self.args = args
@property
def handles_eof(self):
return self._handles_eof
@property @property
def pulls_fd(self): def pulls_fd(self):
return self._pulls_fd return self._pulls_fd

View File

@ -354,9 +354,6 @@ interest in this object are:
member is an opaque struct that can be used by the decoder to store member is an opaque struct that can be used by the decoder to store
any format specific state or options. any format specific state or options.
**handles_eof**
UNDONE, set if your code handles EOF errors.
**pulls_fd** **pulls_fd**
**EXPERIMENTAL** -- **WARNING**, interface may change. If set to 1, **EXPERIMENTAL** -- **WARNING**, interface may change. If set to 1,
``state->fd`` will be a pointer to the Python file like object. The ``state->fd`` will be a pointer to the Python file like object. The