def node(self, node):
if node == self.node1:<EOL><INDENT>return self.node2<EOL><DEDENT>elif node == self.node2:<EOL><INDENT>return self.node1<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
Return the other node