Lines Matching refs:file_or_filename
136 file_or_filename, argument
146 file_or_filename,
180 with _get_writer(file_or_filename, encoding) as write:
262 def _get_writer(file_or_filename, encoding): argument
265 write = file_or_filename.write
269 file_or_filename,
285 if isinstance(file_or_filename, io.BufferedIOBase):
286 buf = file_or_filename
287 elif isinstance(file_or_filename, io.RawIOBase):
288 buf = io.BufferedWriter(file_or_filename)
299 buf.seekable = file_or_filename.seekable
300 buf.tell = file_or_filename.tell