Lines Matching defs:mode
336 mode. Else (the default) the file is opened in binary mode.
538 def NamedTemporaryFile(mode='w+b', buffering=-1, encoding=None,
544 'mode' -- the mode argument to io.open (default "w+b").
570 if "b" not in mode:
579 file = _io.open(dir, mode, buffering=buffering,
606 def TemporaryFile(mode='w+b', buffering=-1, encoding=None,
612 'mode' -- the mode argument to io.open (default "w+b").
624 if "b" not in mode:
638 file = _io.open(dir, mode, buffering=buffering,
673 file = _io.open(dir, mode, buffering=buffering,
688 def __init__(self, max_size=0, mode='w+b', buffering=-1,
691 if 'b' in mode:
700 self._TemporaryFileArgs = {'mode': mode, 'buffering': buffering,
782 def mode(self):
784 return self._file.mode
786 return self._TemporaryFileArgs['mode']