Lines Matching refs:_file
91 if _state and _state._file:
208 self._file = None
252 if not self._file:
284 file = self._file
285 self._file = None
308 if not self._file:
323 self._file = None
329 self._file = getattr(sys.stdin, 'buffer', sys.stdin)
331 self._file = sys.stdin
343 self._file = open(self._backupfilename, self._mode)
345 perm = os.fstat(self._file.fileno()).st_mode
364 self._file = self._openhook(self._filename, self._mode)
366 self._file = open(self._filename, self._mode)
367 self._readline = self._file.readline # hide FileInput._readline
380 if self._file:
382 return self._file.fileno()