Home
last modified time | relevance | path

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

12

/third_party/python/Lib/
Dio.py87 class IOBase(_io._IOBase, metaclass=abc.ABCMeta): class
90 class RawIOBase(_io._RawIOBase, IOBase):
93 class BufferedIOBase(_io._BufferedIOBase, IOBase):
96 class TextIOBase(_io._TextIOBase, IOBase):
D_pyio.py339 class IOBase(metaclass=abc.ABCMeta): class
629 io.IOBase.register(IOBase)
632 class RawIOBase(IOBase):
698 class BufferedIOBase(IOBase):
1843 class TextIOBase(IOBase):
/third_party/python/Doc/library/
Dio.rst254 :meth:`~IOBase.readinto` and :meth:`~IOBase.readline`.
256 At the top of the I/O hierarchy is the abstract base class :class:`IOBase`. It
261 The :class:`RawIOBase` ABC extends :class:`IOBase`. It deals with the reading
265 The :class:`BufferedIOBase` ABC extends :class:`IOBase`. It deals with
273 The :class:`TextIOBase` ABC extends :class:`IOBase`. It deals with
289 :class:`IOBase` ``fileno``, ``seek``, ``close``, ``closed``, ``_…
294 :class:`RawIOBase` :class:`IOBase` ``readinto`` and Inherited :class:`IOBase` …
296 :class:`BufferedIOBase` :class:`IOBase` ``detach``, ``read``, Inherited :class:`IOBase` …
298 :class:`TextIOBase` :class:`IOBase` ``detach``, ``read``, Inherited :class:`IOBase` …
307 .. class:: IOBase
[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
53 a :meth:`~io.IOBase.fileno` method are accepted as well). The values used
128 a :meth:`~io.IOBase.fileno` method are accepted as well). See the Unix manual
140 *fd* is the file descriptor (file objects providing a :meth:`~io.IOBase.fileno`
159 :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.
392 :meth:`~io.IOBase.fileno` method that returns an integer. File objects
435 :meth:`~io.IOBase.fileno` method that returns an integer.
513 be an int or an object with a :meth:`~io.IOBase.fileno` method. kevent
Ddevmode.rst83 * The :class:`io.IOBase` destructor logs ``close()`` exceptions.
102 The :class:`io.IOBase` destructor now logs ``close()`` exceptions.
Ddifflib.rst163 :func:`io.IOBase.readlines` result in diffs that are suitable for use with
164 :func:`io.IOBase.writelines` since both the inputs and outputs have trailing
294 :func:`io.IOBase.readlines` result in diffs that are suitable for use with
295 :func:`io.IOBase.writelines` since both the inputs and outputs have trailing
683 :meth:`~io.IOBase.readlines` method of file-like objects. The delta
685 printed as-is via the :meth:`~io.IOBase.writelines` method of a
Dzipfile.rst265 :meth:`~io.BufferedIOBase.read`, :meth:`~io.IOBase.readline`,
266 :meth:`~io.IOBase.readlines`, :meth:`~io.IOBase.seek`,
267 :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.rst196 :meth:`~io.IOBase.close` method of the sourced input stream when it returns
309 EOF, at which point the :meth:`~io.IOBase.close` method of that stream will be
Dftplib.rst292 (opened in binary mode) which is read until EOF using its :meth:`~io.IOBase.read`
306 :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
Dunittest.mock.rst2454 *read_data* is a string for the :meth:`~io.IOBase.read`,
2455 :meth:`~io.IOBase.readline`, and :meth:`~io.IOBase.readlines` methods
2465 Added :meth:`~io.IOBase.readline` and :meth:`~io.IOBase.readlines` support.
2466 The mock of :meth:`~io.IOBase.read` changed to consume *read_data* rather
Dmmap.rst27 should :func:`~io.IOBase.flush` the file first. This is necessary to ensure
Dexceptions.rst186 without reading any data. (N.B.: the :meth:`io.IOBase.read` and
187 :meth:`io.IOBase.readline` methods return an empty string when they hit EOF.)
Dtkinter.rst957 :meth:`~io.BufferedIOBase.read` or :meth:`~io.IOBase.readline` methods,
967 may either be an object with a :meth:`~io.IOBase.fileno` method (such as
Dcgi.rst147 (the :func:`~io.RawIOBase.read` and :func:`~io.IOBase.readline` methods will
Dasyncio-eventloop.rst773 :meth:`file.tell() <io.IOBase.tell>` can be used to obtain the actual
963 :meth:`file.tell() <io.IOBase.tell>` can be used to obtain the actual
/third_party/python/Doc/c-api/
Dfile.rst43 object's :meth:`~io.IOBase.fileno` method is called if it exists; the
54 :meth:`~io.IOBase.readline`
/third_party/python/Tools/scripts/
Dmd5sum.py28 if files and isinstance(files[-1], io.IOBase):
/third_party/python/Lib/test/
Dtest_io.py590 class R(self.IOBase):
598 class R(self.IOBase):
707 self._check_base_destructor(self.IOBase)
860 self.IOBase(),
1007 class R(self.IOBase):
1026 class MyIO(self.IOBase):
3954 self.assertTrue(issubclass(obj, self.IOBase))
4059 self.assertIsInstance(self.IOBase, abc.ABCMeta)
4066 self.assertIsInstance(f, abcmodule.IOBase)
4071 self.assertIsInstance(f, abcmodule.IOBase)
[all …]
/third_party/python/Misc/NEWS.d/
D3.8.0a4.rst406 :class:`io.IOBase` destructor now logs ``close()`` exceptions. These
806 Add docstring for io.IOBase.writelines().
D3.6.2rc1.rst523 Fixed crashes in IOBase methods __next__() and readlines() when readline()
D3.5.4rc1.rst589 Fixed crashes in IOBase methods __next__() and readlines() when readline()

12