Home
last modified time | relevance | path

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

123

/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.py315 class IOBase(metaclass=abc.ABCMeta): class
605 io.IOBase.register(IOBase)
608 class RawIOBase(IOBase):
674 class BufferedIOBase(IOBase):
1819 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.rst188 :meth:`~IOBase.readinto` and :meth:`~IOBase.readline`.
190 At the top of the I/O hierarchy is the abstract base class :class:`IOBase`. It
195 The :class:`RawIOBase` ABC extends :class:`IOBase`. It deals with the reading
199 The :class:`BufferedIOBase` ABC extends :class:`IOBase`. It deals with
207 The :class:`TextIOBase` ABC extends :class:`IOBase`. It deals with
223 :class:`IOBase` ``fileno``, ``seek``, ``close``, ``closed``, ``_…
228 :class:`RawIOBase` :class:`IOBase` ``readinto`` and Inherited :class:`IOBase` …
230 :class:`BufferedIOBase` :class:`IOBase` ``detach``, ``read``, Inherited :class:`IOBase` …
232 :class:`TextIOBase` :class:`IOBase` ``detach``, ``read``, Inherited :class:`IOBase` …
241 .. 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
48 a :meth:`~io.IOBase.fileno` method are accepted as well). The values used
123 a :meth:`~io.IOBase.fileno` method are accepted as well). See the Unix manual
135 *fd* is the file descriptor (file objects providing a :meth:`~io.IOBase.fileno`
154 :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.rst81 * The :class:`io.IOBase` destructor logs ``close()`` exceptions.
97 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.rst266 :meth:`~io.BufferedIOBase.read`, :meth:`~io.IOBase.readline`,
267 :meth:`~io.IOBase.readlines`, :meth:`~io.IOBase.seek`,
268 :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.rst182 :meth:`~io.IOBase.close` method of the sourced input stream when it returns
295 EOF, at which point the :meth:`~io.IOBase.close` method of that stream will be
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/llvm-project/libcxx/utils/
Dgenerate_abi_list.py18 if isinstance(file, io.IOBase):
/external/python/cpython3/Tools/scripts/
Dmd5sum.py28 if files and isinstance(files[-1], io.IOBase):
/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/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.py580 class R(self.IOBase):
588 class R(self.IOBase):
697 self._check_base_destructor(self.IOBase)
849 self.IOBase(),
996 class R(self.IOBase):
1015 class MyIO(self.IOBase):
3896 self.assertTrue(issubclass(obj, self.IOBase))
3999 self.assertIsInstance(self.IOBase, abc.ABCMeta)
4006 self.assertIsInstance(f, abcmodule.IOBase)
4011 self.assertIsInstance(f, abcmodule.IOBase)
[all …]
/external/python/cpython2/Doc/c-api/
Dfile.rst115 :meth:`~io.IOBase.readline`

123