Lines Matching refs:_file
87 if _state and _state._file:
205 self._file = None
260 if not self._file:
292 file = self._file
293 self._file = None
316 if not self._file:
331 self._file = None
344 self._file = getattr(sys.stdin, 'buffer', sys.stdin)
346 self._file = sys.stdin
358 self._file = open(self._backupfilename, self._mode, encoding=encoding)
360 perm = os.fstat(self._file.fileno()).st_mode
382 self._file = self._openhook(self._filename, self._mode)
384 self._file = self._openhook(
387 … self._file = open(self._filename, self._mode, encoding=encoding, errors=self._errors)
388 self._readline = self._file.readline # hide FileInput._readline
401 if self._file:
403 return self._file.fileno()