Searched refs:_io (Results 1 - 10 of 10) sorted by relevance
/third_party/python/Lib/ |
H A D | io.py | 51 import _io namespace 54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation, 64 # when set to a class variable. _io.open is a built-in function whereas 87 class IOBase(_io._IOBase, metaclass=abc.ABCMeta): 88 __doc__ = _io._IOBase.__doc__ 90 class RawIOBase(_io._RawIOBase, IOBase): 91 __doc__ = _io._RawIOBase.__doc__ 93 class BufferedIOBase(_io._BufferedIOBase, IOBase): 94 __doc__ = _io._BufferedIOBase.__doc__ 96 class TextIOBase(_io [all...] |
H A D | tempfile.py | 41 import io as _io namespace 571 encoding = _io.text_encoding(encoding) 579 file = _io.open(dir, mode, buffering=buffering, 625 encoding = _io.text_encoding(encoding) 638 file = _io.open(dir, mode, buffering=buffering, 673 file = _io.open(dir, mode, buffering=buffering, 681 class SpooledTemporaryFile(_io.IOBase): 692 self._file = _io.BytesIO() 694 encoding = _io.text_encoding(encoding) 695 self._file = _io [all...] |
H A D | zipimport.py | 21 import _io # for open namespace 403 fp = _io.open_code(archive) 592 with _io.open_code(archive) as fp:
|
H A D | _pyio.py | 310 # when set to a class variable. _io.open is a built-in function whereas 685 from _io import FileIO
|
/third_party/python/Lib/dbm/ |
H A D | dumb.py | 25 import io as _io namespace 46 _io = _io # for _commit() variable in _Database 83 f = _io.open(self._datfile, 'r', encoding="Latin-1") 87 with _io.open(self._datfile, 'w', encoding="Latin-1") as f: 97 f = _io.open(self._dirfile, 'r', encoding="Latin-1") 130 with self._io.open(self._dirfile, 'w', encoding="Latin-1") as f: 149 with _io.open(self._datfile, 'rb') as f: 159 with _io.open(self._datfile, 'rb+') as f: 173 with _io [all...] |
/third_party/python/Lib/importlib/ |
H A D | _bootstrap_external.py | 27 import _io namespace 196 with _io.FileIO(fd, 'wb') as file: 767 source_bytes_readline = _io.BytesIO(source_bytes).readline 769 newline_decoder = _io.IncrementalNewlineDecoder(None, True) 1130 with _io.open_code(str(path)) as file: 1133 with _io.FileIO(path, 'r') as file:
|
/third_party/python/Lib/test/ |
H A D | test_fileio.py | 21 import _io # C implementation of io namespace 350 FileIO = _io.FileIO 351 modulename = '_io' 574 FileIO = _io.FileIO 575 modulename = '_io' 589 with _io.open_code(__file__) as f:
|
H A D | test_file_eintr.py | 24 import _io namespace 187 modname = '_io' 209 modname = '_io' 248 modname = '_io'
|
H A D | test_descr.py | 3239 from _io import FileIO
|
/third_party/python/Lib/unittest/ |
H A D | mock.py | 2895 import _io namespace 2896 file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO)))) 2900 import _io namespace 2901 open_spec = list(set(dir(_io.open)))
|
Completed in 21 milliseconds