code: def remove_existing_pidfile(pidfile_path):
      
      try:
          os.remove(pidfile_path)
      except OSError as exc:
          if exc.errno == errno.ENOENT:
              pass
          else:
              raise
docs: Remove the named PID file if it exists.
  
          Removing a PID file that doesn't already exist puts us in the
          desired state, so we ignore the condition if the file does not
          exist.