def prune_list(self):
targets = self.descendents_root()<EOL>try:<EOL><INDENT>targets.remove(self.graph.root)<EOL><DEDENT>except ValueError:<EOL><INDENT>pass<EOL><DEDENT>targets.append(self)<EOL>return targets<EOL>
Returns a list of nodes that would be removed if prune were called
        on this element.