Searched defs:TextIOWrapper (Results 1 - 7 of 7) sorted by relevance

/external/python/cpython3/Lib/email/
H A Dparser.py10 from io import StringIO, TextIOWrapper namespace
111 fp = TextIOWrapper(fp, encoding='ascii', errors='surrogateescape')
/external/python/cpython3/Lib/test/
H A Dtest_getpass.py4 from io import BytesIO, StringIO, TextIOWrapper namespace
74 stream = TextIOWrapper(BytesIO(), encoding="ascii")
100 mock.patch('io.TextIOWrapper') as textio:
114 mock.patch('io.TextIOWrapper'), \
126 mock.patch('io.TextIOWrapper') as textio, \
141 mock.patch('io.TextIOWrapper'), \
/external/python/cpython3/Lib/
H A Dcgi.py34 from io import StringIO, BytesIO, TextIOWrapper namespace
151 if isinstance(fp, TextIOWrapper):
415 1. a TextIOWrapper object
485 elif isinstance(fp, TextIOWrapper):
H A Dtokenize.py30 from io import TextIOWrapper namespace
456 text = TextIOWrapper(buffer, encoding, line_buffering=True)
H A D_pyio.py152 'r', 'wt', 'rt', etc.), it returns a TextIOWrapper. When used to open
243 text = TextIOWrapper(buffer, encoding, errors, newline, line_buffering)
1882 class TextIOWrapper(TextIOBase): class in inherits:TextIOBase
2483 class StringIO(TextIOWrapper):
2487 argument is like the one of TextIOWrapper's constructor.
2517 # TextIOWrapper tells the encoding in its repr. In StringIO,
/external/python/cpython2/Lib/
H A D_pyio.py144 'r', 'wt', 'rt', etc.), it returns a TextIOWrapper. When used to open
228 text = TextIOWrapper(buffer, encoding, errors, newline, line_buffering)
1456 class TextIOWrapper(TextIOBase): class in inherits:TextIOBase
1549 return "<_pyio.TextIOWrapper encoding='{0}'>".format(self.encoding)
1551 return "<_pyio.TextIOWrapper name={0!r} encoding='{1}'>".format(
1990 class StringIO(TextIOWrapper):
1994 argument is like the one of TextIOWrapper's constructor.
2023 # TextIOWrapper tells the encoding in its repr. In StringIO,
/external/python/cpython3/Python/
H A Dtraceback.c24 _Py_IDENTIFIER(TextIOWrapper); variable

Completed in 244 milliseconds