Home
last modified time | relevance | path

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

12

/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/cpython3/Lib/
Dio.py72 class IOBase(_io._IOBase, metaclass=abc.ABCMeta): class
75 class RawIOBase(_io._RawIOBase, IOBase):
78 class BufferedIOBase(_io._BufferedIOBase, IOBase):
81 class TextIOBase(_io._TextIOBase, IOBase):
D_pyio.py281 class IOBase(metaclass=abc.ABCMeta): class
554 io.IOBase.register(IOBase)
557 class RawIOBase(IOBase):
623 class BufferedIOBase(IOBase):
1757 class TextIOBase(IOBase):
/external/python/cpython2/Misc/NEWS.d/next/Core and Builtins/
D2018-07-14-08-58-46.bpo-34068.9xfM55.rst1 In :meth:`io.IOBase.close`, ensure that the :attr:`~io.IOBase.closed`
/external/python/cpython3/Doc/library/
Dio.rst166 :meth:`~IOBase.readinto` and :meth:`~IOBase.readline`.
168 At the top of the I/O hierarchy is the abstract base class :class:`IOBase`. It
173 The :class:`RawIOBase` ABC extends :class:`IOBase`. It deals with the reading
185 The :class:`TextIOBase` ABC, another subclass of :class:`IOBase`, deals with
201 :class:`IOBase` ``fileno``, ``seek``, ``close``, ``closed``, ``_…
206 :class:`RawIOBase` :class:`IOBase` ``readinto`` and Inherited :class:`IOBase` …
208 :class:`BufferedIOBase` :class:`IOBase` ``detach``, ``read``, Inherited :class:`IOBase` …
210 :class:`TextIOBase` :class:`IOBase` ``detach``, ``read``, Inherited :class:`IOBase` …
219 .. class:: IOBase
229 Even though :class:`IOBase` does not declare :meth:`read`, :meth:`readinto`,
[all …]
Dfcntl.rst23 ``sys.stdin.fileno()``, or an :class:`io.IOBase` object, such as ``sys.stdin``
24 itself, which provides a :meth:`~io.IOBase.fileno` that returns a genuine file
38 a :meth:`~io.IOBase.fileno` method are accepted as well). The values used
109 a :meth:`~io.IOBase.fileno` method are accepted as well). See the Unix manual
137 :func:`io.IOBase.seek`, specifically:
Dchunk.rst61 only method that is needed is :meth:`~io.IOBase.read`. If the methods
62 :meth:`~io.IOBase.seek` and :meth:`~io.IOBase.tell` are present and don't
Dselect.rst122 named :meth:`~io.IOBase.fileno` returning such an integer:
148 as long as it has an appropriate :meth:`~io.IOBase.fileno` method (that
220 :meth:`~io.IOBase.fileno` method that returns an integer. File objects
247 :meth:`~io.IOBase.fileno` method that returns an integer.
389 :meth:`~io.IOBase.fileno` method that returns an integer. File objects
432 :meth:`~io.IOBase.fileno` method that returns an integer.
509 be an int or an object with a :meth:`~io.IOBase.fileno` method. kevent
Ddifflib.rst158 :func:`io.IOBase.readlines` result in diffs that are suitable for use with
159 :func:`io.IOBase.writelines` since both the inputs and outputs have trailing
289 :func:`io.IOBase.readlines` result in diffs that are suitable for use with
290 :func:`io.IOBase.writelines` since both the inputs and outputs have trailing
664 :meth:`~io.IOBase.readlines` method of file-like objects. The delta
666 printed as-is via the :meth:`~io.IOBase.writelines` method of a
Dzipfile.rst248 :meth:`~io.BufferedIOBase.read`, :meth:`~io.IOBase.readline`,
249 :meth:`~io.IOBase.readlines`, :meth:`~io.IOBase.seek`,
250 :meth:`~io.IOBase.tell`, :meth:`__iter__`, :meth:`~iterator.__next__`.
Demail.parser.rst158 both the :meth:`~io.IOBase.readline` and the :meth:`~io.IOBase.read`
Dshlex.rst162 :meth:`~io.IOBase.close` method of the sourced input stream when it returns
272 EOF, at which point the :meth:`~io.IOBase.close` method of that stream will be
Dftplib.rst268 (opened in binary mode) which is read until EOF using its :meth:`~io.IOBase.read`
282 :term:`file object` *fp* (opened in binary mode) using its :meth:`~io.IOBase.readline`
Dtokenize.rst34 :meth:`io.IOBase.readline` method of file objects. Each call to the
/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
/external/python/cpython3/Doc/c-api/
Dfile.rst43 object's :meth:`~io.IOBase.fileno` method is called if it exists; the
54 :meth:`~io.IOBase.readline`
/external/python/cpython3/Tools/scripts/
Dmd5sum.py28 if files and isinstance(files[-1], io.IOBase):
/external/python/cpython2/Lib/test/
Dtest_io.py402 class R(self.IOBase):
410 class R(self.IOBase):
518 self._check_base_destructor(self.IOBase)
694 class R(self.IOBase):
710 class MyIO(self.IOBase):
2948 self.assertTrue(issubclass(obj, self.IOBase))
3042 self.assertIsInstance(self.IOBase, abc.ABCMeta)
3049 self.assertIsInstance(f, abcmodule.IOBase)
3054 self.assertIsInstance(f, abcmodule.IOBase)
3059 self.assertIsInstance(f, abcmodule.IOBase)
/external/python/cpython3/Lib/test/
Dtest_io.py569 class R(self.IOBase):
577 class R(self.IOBase):
686 self._check_base_destructor(self.IOBase)
833 self.IOBase(),
980 class R(self.IOBase):
996 class MyIO(self.IOBase):
3803 self.assertTrue(issubclass(obj, self.IOBase))
3895 self.assertIsInstance(self.IOBase, abc.ABCMeta)
3902 self.assertIsInstance(f, abcmodule.IOBase)
3907 self.assertIsInstance(f, abcmodule.IOBase)
[all …]
/external/python/cpython2/Doc/c-api/
Dfile.rst115 :meth:`~io.IOBase.readline`
/external/python/cpython2/Misc/NEWS.d/
D2.7.3rc1.rst203 methods on the type (e.g. when subclassing IOBase). Diagnosis and patch by
1896 Fix io.IOBase documentation to correctly link to the io.IOBase.readline

12