>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
What Python protocol supports entering and reliably leaving a managed resource scope? | SWE Maxx
← Question bank
Python · Multiple Choice
Difficulty: Medium
What Python protocol supports entering and reliably leaving a managed resource scope?
Resource management
Python protocols
Choose your answer
A
__exit__
B
__enter__
C
with statement
D
Context manager
Check answer
More in Python →