Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_contextlib_async.py551 f = stack.push_async_callback(_exit, *args, **kwds)
553 f = stack.push_async_callback(_exit, *args)
555 f = stack.push_async_callback(_exit, **kwds)
557 f = stack.push_async_callback(_exit)
569 stack.push_async_callback(arg=1)
571 self.exit_stack.push_async_callback(arg=2)
573 stack.push_async_callback(callback=_exit, arg=3)
622 @stack.push_async_callback # Registered first => cleaned up last
664 stack.push_async_callback(raise_exc, IndexError)
665 stack.push_async_callback(raise_exc, KeyError)
[all …]
/external/python/cpython3/Lib/
Dcontextlib.py690 def push_async_callback(self, callback, /, *args, **kwds): member in AsyncExitStack
/external/python/cpython3/Doc/library/
Dcontextlib.rst646 .. method:: push_async_callback(callback, /, *args, **kwds)
/external/python/cpython3/Doc/whatsnew/
D3.8.rst1739 :meth:`contextlib.AsyncExitStack.push_async_callback`.