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