def mkstemp(suffix=None, prefix=None, dir=None, text=False):
 (prefix, suffix, dir, output_type) = _sanitize_params(prefix, suffix, dir)
 if text:
  flags = _text_openflags
 else:
  flags = _bin_openflags
 return _mkstemp_inner(dir, prefix, suffix, flags, output_type)

def mkstemp ( suffix = None , prefix = None , dir = None , text = False ) : ( prefix , suffix , dir , output_type ) = _sanitize_params ( prefix , suffix , dir ) if text : flags = _text_openflags else : flags = _bin_openflags return _mkstemp_inner ( dir , prefix , suffix , flags , output_type )
wrap tempfile .