<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def all_edges(self, node):
 """ Returns a list of incoming and outging edges. """

        return set(self.inc_edges(node) + self.out_edges(node))