def neighbors(self, n):
        try:
            return list(self.adj[n])
        except KeyError:
            raise NetworkXError("The node %s is not in the graph."%(n,))
Get a root of a composite polynomial by index.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.neighbors--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/polys/rootoftools.py/ComplexRootOf._indexed_root