def get_edge(self, edge_id):
try:<EOL><INDENT>edge_object = self.edges[edge_id]<EOL><DEDENT>except KeyError:<EOL><INDENT>raise NonexistentEdgeError(edge_id)<EOL><DEDENT>return edge_object<EOL>
Returns the edge object identified by "edge_id".