def get_node(self, node_id):
try:<EOL><INDENT>node_object = self.nodes[node_id]<EOL><DEDENT>except KeyError:<EOL><INDENT>raise NonexistentNodeError(node_id)<EOL><DEDENT>return node_object<EOL>
Returns the node object identified by "node_id".