ExamVeda
Login
Home
Decorators in Depth
?

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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.