Practice
Learn
← Quit
0 / 0 correct
Python
Easy
1 of 20
What does a `with` statement guarantee?
A
The context manager's __exit__ runs when the block ends, even if an exception is raised
B
Exceptions in the block are suppressed
C
The block runs in a new thread
D
Variables in the block are local to it