def __getitem__(self, n):
        """Return a dict of neighbors of node n in the dense graph.

        Parameters
        ----------
        n : node
           A node in the graph.

        Returns
        -------
        adj_dict : dictionary
           The adjacency dictionary for nodes connected to n.

        """
        return dict((node, self.all_edge_dict) for node in
                    set(self.adj[n]) - set([n]) - set(self.adj))
dataset/ETHPy150Open networkx/networkx/examples/subclass/antigraph.py/AntiGraph.__getitem__/swapped operands of `-`