

def remove_edges_from(self, ebunch):
    'Remove all edges specified in ebunch.\n\n        Parameters\n        ----------\n        ebunch: list or container of edge tuples\n            Each edge given in the list or container will be removed\n            from the graph. The edges can be:\n\n                - 2-tuples (u,v) edge between u and v.\n                - 3-tuples (u,v,k) where k is ignored.\n\n        See Also\n        --------\n        remove_edge : remove a single edge\n\n        Notes\n        -----\n        Will fail silently if an edge in ebunch is not in the graph.\n\n        Examples\n        --------\n        >>> G = nx.Graph()   # or DiGraph, MultiGraph, MultiDiGraph, etc\n        >>> G.add_path([0,1,2,3])\n        >>> ebunch=[(1,2),(2,3)]\n        >>> G.remove_edges_from(ebunch)\n        '
    for e in ebunch:
        (u, v) = e[:2]
        if ((u in self.succ) and (v in self.succ[u])):
            del e.succ[u][v]
            del self.pred[v][u]

dataset/ETHPy150Open networkx/networkx/networkx/classes/tests/timingclasses.py TimingDiGraph.remove_edges_from/VarMisuse@58/367 `self`->`e`