def __delitem__(self, node):
        "Delete node from graph."
        # Grr, we really need to find all edges going to this node
        # and delete them.
        try:
            # Do stuff to remove it here...
            self.dictClass.__delitem__(self, node)
        except __HOLE__:
            raise KeyError('Node not present in mapping.')
        for rule in getschema(node, graph=self):
            if isinstance(rule[1], types.StringType): # ATTRIBUTE BINDING!
                delattr(node, rule[1])  # REMOVE ATTRIBUTE BINDING
dataset/ETHPy150Open cjlee112/pygr/pygr/mapping.py/dictGraph.__delitem__