Glossary coding Term Page
Context manager
a structure that groups the code run when a `with` block starts and ends
Core Idea
Context manager is a structure that groups the code run when a with block starts and ends. It usually makes the most sense alongside with statement, [[enter-exit|enter/exit]], ExitStack.
Why It Matters Here
Mathbong reuses this term across python posts as shared vocabulary.