Home
last modified time | relevance | path

Searched refs:hook_compressed (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Doc/library/
Dfileinput.rst170 .. function:: hook_compressed(filename, mode)
177 Usage example: ``fi = fileinput.FileInput(openhook=fileinput.hook_compressed)``
/external/python/cpython3/Doc/library/
Dfileinput.rst194 .. function:: hook_compressed(filename, mode)
201 Usage example: ``fi = fileinput.FileInput(openhook=fileinput.hook_compressed)``
/external/python/cpython2/Lib/
Dfileinput.py369 def hook_compressed(filename, mode): function
/external/python/cpython3/Lib/test/
Dtest_fileinput.py886 result = fileinput.hook_compressed("test.gz", 3)
898 result = fileinput.hook_compressed("test.bz2", 4)
917 result = fileinput.hook_compressed(filename, mode)
/external/python/cpython3/Lib/
Dfileinput.py395 def hook_compressed(filename, mode): function