/third_party/python/Lib/test/ |
D | test_contextlib_async.py | 32 async def __aexit__(self, *args): member in TestAbstractAsyncContextManager.test_enter.DefaultEnter 33 await super().__aexit__(*args) 74 async def __aexit__(self, exc_type, exc_value, traceback): member in TestAbstractAsyncContextManager.test_structural_subclassing.ManagerFromScratch 80 async def __aexit__(self, *args): member in TestAbstractAsyncContextManager.test_structural_subclassing.DefaultEnter 81 await super().__aexit__(*args) 91 __aexit__ = None variable in TestAbstractAsyncContextManager.test_structural_subclassing.NoneAexit 138 self.assertFalse(await ctx.__aexit__(TypeError, TypeError("foo"), None)) 151 await ctx.__aexit__(TypeError, TypeError('foo'), None) 172 await ctx.__aexit__(None, None, None) 186 await ctx.__aexit__(RuntimeError, None, None) [all …]
|
D | test_coroutines.py | 1173 async def __aexit__(self, *args): member in CoroutineTest.test_with_1.Manager 1221 def __aexit__(self): member in CoroutineTest.test_with_3.CM 1259 async def __aexit__(self, *exc): member in CoroutineTest.test_with_5.CM 1274 def __aexit__(self, *e): member in CoroutineTest.test_with_6.CM 1293 def __aexit__(self, *e): member in CoroutineTest.test_with_7.CM 1321 def __aexit__(self, *e): member in CoroutineTest.test_with_8.CM 1385 async def __aexit__(self, *e): member in CoroutineTest.test_with_9.CM 1405 async def __aexit__(self, *e): member in CoroutineTest.test_with_10.CM 1431 async def __aexit__(self, *e): member in CoroutineTest.test_with_11.CM 1453 async def __aexit__(self, *e): member in CoroutineTest.test_with_12.CM [all …]
|
D | test_sys_settrace.py | 33 async def __aexit__(self, *exc_info): member in asynctracecontext
|
D | test_grammar.py | 1984 async def __aexit__(self, *exc): member in GrammarTests.test_async_with.manager
|
/third_party/python/Lib/ |
D | contextlib.py | 48 async def __aexit__(self, exc_type, exc_value, traceback): member in AbstractAsyncContextManager 203 async def __aexit__(self, typ, value, traceback): member in _AsyncGeneratorContextManager 365 async def __aexit__(self, *exc_info): member in aclosing 618 _exit = _cm_type.__aexit__ 633 exit_method = _cb_type.__aexit__ 656 await self.__aexit__(None, None, None) 667 async def __aexit__(self, *exc_details): member in AsyncExitStack 744 async def __aexit__(self, *excinfo): member in nullcontext
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 288 self.assertTrue(iscoroutinefunction(mock.__aexit__)) 291 self.assertIsInstance(mock.__aexit__, AsyncMock) 314 self.assertTrue(iscoroutinefunction(mock.__aexit__)) 317 self.assertIsInstance(mock.__aexit__, AsyncMock)
|
D | testasync.py | 518 self.assertIsInstance(m_mock.__aexit__, AsyncMock) 547 self.assertIsInstance(m_mock.__aexit__, AsyncMock) 550 self.assertTrue(iscoroutinefunction(m_mock.__aexit__)) 557 async def __aexit__(self, *args, **kwargs): pass member in AsyncContextManagerTest.WithAsyncContextManager 605 self.assertTrue(cm_mock.__aexit__.called) 607 cm_mock.__aexit__.assert_awaited() 645 mock_instance.__aexit__ = exit_coroutine
|
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/ |
D | _base_channel.py | 196 async def __aexit__(self, exc_type, exc_val, exc_tb): member in Channel
|
D | _channel.py | 281 async def __aexit__(self, exc_type, exc_val, exc_tb): member in Channel
|
/third_party/grpc/src/python/grpcio/grpc/aio/ |
D | _base_channel.py | 200 async def __aexit__(self, exc_type, exc_val, exc_tb): member in Channel
|
D | _channel.py | 285 async def __aexit__(self, exc_type, exc_val, exc_tb): member in Channel
|
/third_party/python/Lib/asyncio/ |
D | locks.py | 18 async def __aexit__(self, exc_type, exc, tb): member in _ContextManagerMixin
|
D | events.py | 199 async def __aexit__(self, *exc): member in AbstractServer
|
/third_party/python/Doc/library/ |
D | contextlib.rst | 35 :meth:`object.__aenter__` and :meth:`object.__aexit__`. A default 37 ``self`` while :meth:`object.__aexit__` is an abstract method which by default 108 :meth:`__aexit__` methods. It must be applied to an :term:`asynchronous 448 async def __aexit__(self, *exc):
|
D | unittest.mock-examples.rst | 301 :ref:`async-context-managers` through ``__aenter__`` and ``__aexit__``. 302 By default, ``__aenter__`` and ``__aexit__`` are ``AsyncMock`` instances that 308 ... async def __aexit__(self, exc_type, exc, tb): 318 >>> mock_instance.__aexit__.assert_awaited_once()
|
D | dis.rst | 613 Resolves ``__aenter__`` and ``__aexit__`` from the object on top of the 614 stack. Pushes ``__aexit__`` and result of ``__aenter__()`` to the stack.
|
D | unittest.mock.rst | 2020 * Context manager: ``__enter__``, ``__exit__``, ``__aenter__`` and ``__aexit__`` 2038 Added support for ``__aenter__``, ``__aexit__``, ``__aiter__`` and ``__anext__``. 2102 * ``__aexit__``: ``False``
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0b4.rst | 60 ``__aexit__()`` return non-awaitable object.
|
D | 3.6.6rc1.rst | 75 ``__aexit__()`` return non-awaitable object.
|
D | 3.9.0a3.rst | 92 method before the :meth:`__aexit__` special method when entering an
|
/third_party/python/Doc/reference/ |
D | compound_stmts.rst | 1476 aexit = type(manager).__aexit__ 1491 See also :meth:`__aenter__` and :meth:`__aexit__` for details.
|
D | datamodel.rst | 2992 suspend execution in its ``__aenter__`` and ``__aexit__`` methods. 3001 .. method:: object.__aexit__(self, exc_type, exc_value, traceback) 3012 async def __aexit__(self, exc_type, exc, tb):
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 508 Python/ceval.c:_PyEval_EvalFrameDefault():PyId___aexit__ _Py_IDENTIFIER(__aexit__)
|
/third_party/python/Doc/ |
D | glossary.rst | 96 :meth:`__aexit__` methods. Introduced by :pep:`492`.
|
/third_party/python/Python/ |
D | ceval.c | 4032 _Py_IDENTIFIER(__aexit__); in _PyEval_EvalFrameDefault()
|