Home
last modified time | relevance | path

Searched refs:cm_exit (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython3/Lib/
Dcontextlib.py380 def _create_exit_wrapper(cm, cm_exit): argument
381 return MethodType(cm_exit, cm)
446 def _push_cm_exit(self, cm, cm_exit): argument
448 _exit_wrapper = self._create_exit_wrapper(cm, cm_exit)
539 def _create_async_exit_wrapper(cm, cm_exit): argument
540 return MethodType(cm_exit, cm)
595 def _push_async_cm_exit(self, cm, cm_exit): argument
598 _exit_wrapper = self._create_async_exit_wrapper(cm, cm_exit)