[docs] [issue39037] Fix the trial order of the __exit__ and __enter__ methods in the with statement documentation