parameters: (fileobj)
return_statement: return isinstance(fileobj, io.FileIO)
docstring: Check if fileobj is a raw file object, e.g created with open.
docstring_summary: Check if fileobj is a raw file object, e.g created with open.
docstring_tokens: Check if fileobj is a raw file object e . g created with open .
function: def _is_raw_file(fileobj):
      """Check if fileobj is a raw file object, e.g created with open."""
      fileobj = getattr(fileobj, 'raw', fileobj)
      return isinstance(fileobj, io.FileIO)
function_tokens: def _is_raw_file ( fileobj ) : fileobj = getattr ( fileobj , 'raw' , fileobj ) return isinstance ( fileobj , io . FileIO )