GlossaryΒΆ

context manager
An object which controls the environment seen in a with statement by defining __enter__() and __exit__() methods. See PEP 343.

This Page