def METHOD_NAME(self, G, T_orig, edge):
    T = T_orig.copy()
    T.remove_edge(*edge)
    U, V = list(nx.connected_components(T))
    cutset = set()
    for x, nbrs in ((n, G[n]) for n in U):
        cutset.update((x, y) for y in nbrs if y in V)
    return cutset