def METHOD_NAME(service_name: str, username: str, password: str) -> None:
    """
    Save a service name, username, and password in an appropriate keyring
    backend.
    """
    def save(kb: KeyringBackend) -> tuple[()]:
        kb.set_password(service_name, username, password)
        return ()
    kb, r = keyring_op(save)
    if r is None:
        save(kb)