def __delitem__(self, node):
        "Delete node from the graph"
        try:
            fromNodes = self._inverse[node]
            del self._inverse[node] # REMOVE FROM _inverse DICT
        except __HOLE__:
            pass
        else: # DELETE EDGES TO THIS NODE
            for i in fromNodes:
                del self[i][node]
        dictGraph.__delitem__(self, node)
dataset/ETHPy150Open cjlee112/pygr/pygr/mapping.py/dictGraphFB.__delitem__