parameters: (path, encoding="utf_8")
docstring: Minify path and write it to to the same location. Optionally use
      encoding
docstring_summary: Minify path and write it to to the same location. Optionally use
      encoding
docstring_tokens: Minify path and write it to to the same location . Optionally use encoding
function: def minify_in_place(path, encoding="utf_8"):
      """Minify path and write it to to the same location. Optionally use
      encoding"""
      tmpfd, tmppath = tempfile.mkstemp(".tmp", "minify.")
      os.fdopen(tmpfd).close()
      minify(path, tmppath, encoding=encoding)
      shutil.copyfile(tmppath, path)
      os.unlink(tmppath)
function_tokens: def minify_in_place ( path , encoding = "utf_8" ) : tmpfd , tmppath = tempfile . mkstemp ( ".tmp" , "minify." ) os . fdopen ( tmpfd ) . close ( ) minify ( path , tmppath , encoding = encoding ) shutil . copyfile ( tmppath , path ) os . unlink ( tmppath )