?
How does the @contextmanager decorator facilitate context management?
Answer & Solution
Correct Answer:
Option
C
The @contextmanager decorator allows a function to act as a context manager with the with statement.
Join the Discussion
Login to post a comment or share your explanation.
Login