Lines Matching refs:contextmanager
44 .. decorator:: contextmanager
57 from contextlib import contextmanager
59 @contextmanager
89 :func:`contextmanager` uses :class:`ContextDecorator` so the context managers
93 created by :func:`contextmanager` to meet the requirement that context
102 Similar to :func:`~contextlib.contextmanager`, but creates an
162 from contextlib import contextmanager
164 @contextmanager
366 ``ContextDecorator`` is used by :func:`contextmanager`, so you get this
682 from contextlib import contextmanager, AbstractContextManager, ExitStack
694 @contextmanager
861 Context managers created using :func:`contextmanager` are also single use
865 >>> from contextlib import contextmanager
866 >>> @contextmanager