If the right child of inorder predecessor already points to the current node , update the current with it 's right child
if prev . right is curr : NEW_LINE INDENT prev . right = None NEW_LINE curr = curr . right NEW_LINE DEDENT