def METHOD_NAME(self, n):
    """Return an iterator over all neighbors of node n in the
    dense graph.
    """
    try:
        return iter(set(self.adj) - set(self.adj[n]) - {n})
    except KeyError as err:
        raise nx.NetworkXError(f"The node {n} is not in the graph.") from err