Lines Matching refs:_file
528 self._file = _StringIO()
541 file = self._file
542 newfile = self._file = TemporaryFile(*self._TemporaryFileArgs)
557 if self._file.closed:
562 self._file.close()
566 return self._file.__iter__()
569 self._file.close()
573 return self._file.closed
577 return self._file.fileno()
580 self._file.flush()
583 return self._file.isatty()
588 return self._file.mode
595 return self._file.name
600 return self._file.next
603 return self._file.read(*args)
606 return self._file.readline(*args)
609 return self._file.readlines(*args)
612 self._file.seek(*args)
616 return self._file.softspace
619 return self._file.tell()
622 self._file.truncate()
625 file = self._file
631 file = self._file
637 if hasattr(self._file, 'xreadlines'): # real file
638 return iter(self._file)
640 return iter(self._file.readlines(*args))