Lines Matching full:openhook
92 mode="r", openhook=None):
93 """input([files[, inplace[, backup[, mode[, openhook]]]]])
103 _state = FileInput(files, inplace, backup, bufsize, mode, openhook)
185 """class FileInput([files[, inplace[, backup[, mode[, openhook]]]]])
198 mode="r", openhook=None):
227 if inplace and openhook:
229 elif openhook and not hasattr(openhook, '__call__'):
230 raise ValueError("FileInput openhook must be callable")
231 self._openhook = openhook
392 def openhook(filename, mode):
394 return openhook