Home
last modified time | relevance | path

Searched refs:IOBase (Results 1 - 7 of 7) sorted by relevance

/third_party/python/Lib/
H A Dio.py4 At the top of the I/O hierarchy is the abstract base class IOBase. It
9 Extending IOBase is RawIOBase which deals simply with the reading and
19 Another IOBase subclass, TextIOBase, deals with the encoding and decoding
44 __all__ = ["BlockingIOError", "open", "open_code", "IOBase", "RawIOBase",
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):
H A D_pyio.py36 # Does io.IOBase finalizer log the exception if the close() method fails?
331 class IOBase(metaclass=abc.ABCMeta): class
339 Even though IOBase does not declare read or write because
352 IOBase (and its subclasses) support the iterator protocol, meaning
353 that an IOBase object can be iterated over yielding the lines in a
356 IOBase also supports the :keyword:`with` statement. In this example,
511 """Context management protocol. Returns self (an instance of IOBase)."""
620 io.IOBase.register(IOBase)
623 class RawIOBase(IOBase)
[all...]
H A Dtempfile.py681 class SpooledTemporaryFile(_io.IOBase):
/third_party/python/Tools/scripts/
H A Dmd5sum.py28 if files and isinstance(files[-1], io.IOBase):
/third_party/python/Lib/test/
H A Dtest_io.py69 # Does io.IOBase finalizer log the exception if the close() method fails?
587 class R(self.IOBase):
595 class R(self.IOBase):
704 self._check_base_destructor(self.IOBase)
857 self.IOBase(),
1012 class R(self.IOBase):
1029 # class which inherits IOBase and an object of this class are caught
1031 class MyIO(self.IOBase):
3964 self.assertTrue(issubclass(obj, self.IOBase))
4070 self.assertIsInstance(self.IOBase, ab
[all...]
H A Dtest_urllib2.py330 class MockHTTPResponse(io.IOBase):
H A Dtest_tempfile.py1092 # SpooledTemporaryFile should implement io.IOBase
1093 self.assertIsInstance(self.do_create(), io.IOBase)
1096 # SpooledTemporaryFile should implement the io.IOBase interface.
1099 # From IOBase
1112 'SpooledTemporaryFile missing attributes from IOBase/BufferedIOBase/TextIOBase'

Completed in 15 milliseconds