Correct Python 3 support within update_wrapper