Searched refs:push_async_callback (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_contextlib_async.py | 340 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/ |
D | contextlib.py | 578 def push_async_callback(self, callback, /, *args, **kwds): member in AsyncExitStack
|
/external/python/cpython3/Doc/library/ |
D | contextlib.rst | 476 .. method:: push_async_callback(callback, /, *args, **kwds)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.8.rst | 1733 :meth:`contextlib.AsyncExitStack.push_async_callback`.
|