original_docstring: Ask user whether or not to open the files in a tag editor.
docstring: Ask user whether or not to open the files in a tag editor.
docstring_tokens: Ask user whether or not to open the files in a tag editor .
code: def prompt_editor(path):
      """Ask user whether or not to open the files in a tag editor."""
      if not click.confirm(
          click.style(
              "\nAre the above tags acceptable? ([n] to open in tag editor)",
              fg="magenta",
              bold=True,
          ),
          default=True,
      ):
          with open(os.devnull, "w") as devnull:
              subprocess.call(["puddletag", path], stdout=devnull, stderr=devnull)
          return True
      return False
code_tokens: def prompt_editor ( path ) : if not click . confirm ( click . style ( "\nAre the above tags acceptable? ([n] to open in tag editor)" , fg = "magenta" , bold = True , ) , default = True , ) : with open ( os . devnull , "w" ) as devnull : subprocess . call ( [ "puddletag" , path ] , stdout = devnull , stderr = devnull ) return True return False
short_docstring: Ask user whether or not to open the files in a tag editor.
short_docstring_tokens: Ask user whether or not to open the files in a tag editor .
comment: """Ask user whether or not to open the files in a tag editor."""