Searched refs:IOBase (Results 1 – 25 of 37) sorted by relevance
12
/third_party/python/Lib/ |
D | io.py | 87 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.py | 339 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/ |
D | io.rst | 254 :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 …]
|
D | fcntl.rst | 23 ``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:
|
D | chunk.rst | 61 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
|
D | select.rst | 122 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
|
D | devmode.rst | 83 * The :class:`io.IOBase` destructor logs ``close()`` exceptions. 102 The :class:`io.IOBase` destructor now logs ``close()`` exceptions.
|
D | difflib.rst | 163 :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
|
D | zipfile.rst | 265 :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__`.
|
D | email.parser.rst | 158 both the :meth:`~io.IOBase.readline` and the :meth:`~io.IOBase.read`
|
D | shlex.rst | 196 :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
|
D | ftplib.rst | 292 (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`
|
D | tokenize.rst | 34 :meth:`io.IOBase.readline` method of file objects. Each call to the
|
D | unittest.mock.rst | 2454 *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
|
D | mmap.rst | 27 should :func:`~io.IOBase.flush` the file first. This is necessary to ensure
|
D | exceptions.rst | 186 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.)
|
D | tkinter.rst | 957 :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
|
D | cgi.rst | 147 (the :func:`~io.RawIOBase.read` and :func:`~io.IOBase.readline` methods will
|
D | asyncio-eventloop.rst | 773 :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/ |
D | file.rst | 43 object's :meth:`~io.IOBase.fileno` method is called if it exists; the 54 :meth:`~io.IOBase.readline`
|
/third_party/python/Tools/scripts/ |
D | md5sum.py | 28 if files and isinstance(files[-1], io.IOBase):
|
/third_party/python/Lib/test/ |
D | test_io.py | 590 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/ |
D | 3.8.0a4.rst | 406 :class:`io.IOBase` destructor now logs ``close()`` exceptions. These 806 Add docstring for io.IOBase.writelines().
|
D | 3.6.2rc1.rst | 523 Fixed crashes in IOBase methods __next__() and readlines() when readline()
|
D | 3.5.4rc1.rst | 589 Fixed crashes in IOBase methods __next__() and readlines() when readline()
|
12