Home
last modified time | relevance | path

Searched refs:IOBase (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Lib/
Dio.py69 class IOBase(_io._IOBase): class
73 class RawIOBase(_io._RawIOBase, IOBase):
76 class BufferedIOBase(_io._BufferedIOBase, IOBase):
79 class TextIOBase(_io._TextIOBase, IOBase):
D_pyio.py264 class IOBase: class
533 io.IOBase.register(IOBase)
536 class RawIOBase(IOBase):
601 class BufferedIOBase(IOBase):
1305 class TextIOBase(IOBase):
/external/python/cpython2/Doc/library/
Dio.rst29 At the top of the I/O hierarchy is the abstract base class :class:`IOBase`. It
34 Extending :class:`IOBase` is :class:`RawIOBase` which deals simply with the
46 Another :class:`IOBase` subclass, :class:`TextIOBase`, deals with
211 .. class:: IOBase
221 Even though :class:`IOBase` does not declare :meth:`read`, :meth:`readinto`,
240 IOBase (and its subclasses) support the iterator protocol, meaning that an
241 :class:`IOBase` object can be iterated over yielding the lines in a stream.
244 :class:`unicode` strings). See :meth:`~IOBase.readline` below.
246 IOBase is also a context manager and therefore supports the
253 :class:`IOBase` provides these data attributes and methods:
[all …]
Dfcntl.rst22 provides a :meth:`~io.IOBase.fileno` which returns a genuine file descriptor.
30 a :meth:`~io.IOBase.fileno` method are accepted as well). The values used
106 a :meth:`~io.IOBase.fileno` method are accepted as well). See the Unix manual
134 :func:`io.IOBase.seek`, specifically:
Dselect.rst66 named :meth:`~io.IOBase.fileno` returning such an integer:
91 class yourself, as long as it has an appropriate :meth:`~io.IOBase.fileno`
212 :meth:`~io.IOBase.fileno` method that returns an integer. File objects
254 :meth:`~io.IOBase.fileno` method that returns an integer.
Dshlex.rst125 :meth:`~io.IOBase.close` method of the sourced input stream when it returns
236 point the :meth:`~io.IOBase.close` method of that stream will be called and
Dmmap.rst28 should :func:`~io.IOBase.flush` the file first. This is necessary to ensure
Dtkinter.rst841 :meth:`~io.BufferedIOBase.read` or :meth:`~io.IOBase.readline` methods,
851 may either be an object with a :meth:`~io.IOBase.fileno` method (such as
Dos.rst621 :func:`fdopen`, use its :meth:`~io.IOBase.close` method.
Dmultiprocessing.rst2387 :meth:`~io.IOBase.close()` on this file-like object, it could result in the same
/external/python/cpython2/Doc/c-api/
Dfile.rst115 :meth:`~io.IOBase.readline`
/external/python/cpython2/Lib/test/
Dtest_io.py502 self._check_base_destructor(self.IOBase)
684 class MyIO(self.IOBase):
2872 self.assertTrue(issubclass(obj, self.IOBase))
2965 self.assertIsInstance(self.IOBase, abc.ABCMeta)
2972 self.assertIsInstance(f, abcmodule.IOBase)
2977 self.assertIsInstance(f, abcmodule.IOBase)
2982 self.assertIsInstance(f, abcmodule.IOBase)
/external/python/cpython2/Misc/
DNEWS485 - Issue #27211: Fix possible memory corruption in io.IOBase.readline().
4276 IOBase). Diagnosis and patch by Davide Rizzo.
4825 - Issue #13513: Fix io.IOBase documentation to correctly link to the
4826 io.IOBase.readline method instead of the readline module.
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1342 :issue:`4991`.) The :meth:`~io.IOBase.truncate` method now preserves the