Searched refs:EncodedFile (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/ |
D | codecs.py | 905 def EncodedFile(file, data_encoding, file_encoding=None, errors='strict'): function 1110 sys.stdout = EncodedFile(sys.stdout, 'latin-1', 'utf-8') 1113 sys.stdin = EncodedFile(sys.stdin, 'utf-8', 'latin-1')
|
/external/python/cpython2/Lib/test/ |
D | test_codecs.py | 936 f2 = codecs.EncodedFile(f, "unicode_internal", "utf-8") 1462 ef = codecs.EncodedFile(f, 'utf-16-le', 'utf-8') 1466 ef = codecs.EncodedFile(f, 'utf-8', 'latin1') 1983 with codecs.EncodedFile(f, "latin-1", "utf-8") as ef:
|
/external/python/cpython2/Doc/library/ |
D | codecs.rst | 269 .. function:: EncodedFile(file, input[, output[, errors]])
|
/external/python/cpython2/Misc/ |
D | NEWS | 11592 - Fix codecs.EncodedFile which did not use file_encoding in 2.5.0, and
|