HomeSort by relevance Sort by last modified time
    Searched defs:openhook (Results 1 - 2 of 2) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
fileinput.py 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): function in function:hook_encoded
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
fileinput.py 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): function in function:hook_encoded
    [all...]

Completed in 30 milliseconds