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.py340 f = stack.push_async_callback(_exit, *args, **kwds)
342 f = stack.push_async_callback(_exit, *args)
344 f = stack.push_async_callback(_exit, **kwds)
346 f = stack.push_async_callback(_exit)
358 stack.push_async_callback(arg=1)
360 self.exit_stack.push_async_callback(arg=2)
362 stack.push_async_callback(callback=_exit, arg=3)
413 @stack.push_async_callback # Registered first => cleaned up last
437 stack.push_async_callback(raise_exc, IndexError)
438 stack.push_async_callback(raise_exc, KeyError)
[all …]
/external/python/cpython3/Lib/
Dcontextlib.py578 def push_async_callback(self, callback, /, *args, **kwds): member in AsyncExitStack
/external/python/cpython3/Doc/library/
Dcontextlib.rst476 .. method:: push_async_callback(callback, /, *args, **kwds)
/external/python/cpython3/Doc/whatsnew/
D3.8.rst1733 :meth:`contextlib.AsyncExitStack.push_async_callback`.