Searched refs:IOBase (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Lib/ |
D | io.py | 69 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.py | 264 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/ |
D | io.rst | 29 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 …]
|
D | fcntl.rst | 22 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:
|
D | select.rst | 66 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.
|
D | shlex.rst | 125 :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
|
D | mmap.rst | 28 should :func:`~io.IOBase.flush` the file first. This is necessary to ensure
|
D | tkinter.rst | 841 :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
|
D | os.rst | 621 :func:`fdopen`, use its :meth:`~io.IOBase.close` method.
|
D | multiprocessing.rst | 2387 :meth:`~io.IOBase.close()` on this file-like object, it could result in the same
|
/external/python/cpython2/Doc/c-api/ |
D | file.rst | 115 :meth:`~io.IOBase.readline`
|
/external/python/cpython2/Lib/test/ |
D | test_io.py | 502 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/ |
D | NEWS | 485 - 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/ |
D | 2.7.rst | 1342 :issue:`4991`.) The :meth:`~io.IOBase.truncate` method now preserves the
|