Home
last modified time | relevance | path

Searched refs:hook_encoded (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_fileinput.py11 from fileinput import FileInput, hook_encoded
252 fi = FileInput(files=t1, openhook=hook_encoded("utf-7"))
267 fi = FileInput(files=TESTFN, openhook=hook_encoded('ascii'))
321 openhook=hook_encoded('utf-7'))
/external/python/cpython3/Lib/test/
Dtest_fileinput.py24 from fileinput import FileInput, hook_encoded
298 openhook=hook_encoded('ascii')) as fi:
937 result = fileinput.hook_encoded(encoding, errors=errors)
965 openhook=hook_encoded('utf-8', errors=errors)) as fi:
983 openhook=hook_encoded('utf-7')) as fi:
/external/python/cpython2/Doc/library/
Dfileinput.rst182 .. function:: hook_encoded(encoding)
188 fileinput.FileInput(openhook=fileinput.hook_encoded("iso-8859-1"))``
/external/python/cpython3/Doc/library/
Dfileinput.rst204 .. function:: hook_encoded(encoding, errors=None)
210 fileinput.FileInput(openhook=fileinput.hook_encoded("utf-8",
/external/python/cpython2/Lib/
Dfileinput.py381 def hook_encoded(encoding): function
/external/python/cpython3/Lib/
Dfileinput.py407 def hook_encoded(encoding, errors=None): function
/external/python/cpython2/Misc/NEWS.d/
D2.7.7rc1.rst319 fileinput.hook_encoded.
/external/python/cpython3/Misc/NEWS.d/
D3.6.0a1.rst1114 fileinput.hook_encoded() now supports an "errors" argument for passing to
/external/python/cpython3/Doc/whatsnew/
D3.6.rst1086 :func:`~fileinput.hook_encoded` now supports the *errors* argument.