.. jf-topic:: python.drafts.context_manager :dependencies: python.basics.python_0140_variables, python.drafts.decorators, python.python_1010_generators_yield, python.drafts.exceptions Context Managers (the ``with`` Statement) (*incomplete*) ======================================================== .. toctree:: :maxdepth: 1 slides screenplay **TODO** * dependency on "variables" is for the necessary explanation on reference counting and lifetime. work that out. * ``__enter__``, ``__exit__`` * contextlib .. jf-topicgraph:: :entries: python.drafts.closures