Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_asyncgen.py319 self.assertTrue(inspect.isawaitable(g.aclose()))
540 await gen.aclose()
565 await gen.aclose()
594 await gen.aclose()
656 await g.aclose()
693 await g.aclose()
Dtest_collections.py1057 def aclose(self): pass member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen1
1063 def aclose(self): pass member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen2
1067 def aclose(self): pass member in TestOneTrickPonyABCs.test_AsyncGenerator.NonAGen3
1081 async def aclose(self): pass member in TestOneTrickPonyABCs.test_AsyncGenerator.Gen
1116 self.assertIsNone(run_async(mgen.aclose()))
1125 run_async(FailOnClose().aclose())
1132 run_async(IgnoreGeneratorExit().aclose())
Dtest_contextlib_async.py284 return self.run_coroutine(self.aclose())
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b4.rst106 Fix asynchronous generators aclose() and athrow() to handle
D3.7.0a1.rst1512 Fix asynchronous generators aclose() and athrow() to handle
/external/python/cpython3/Lib/
Dcontextlib.py591 async def aclose(self): member in AsyncExitStack
D_collections_abc.py222 async def aclose(self): member in AsyncGenerator
/external/python/cpython3/Doc/library/
Dcollections.abc.rst96 :class:`AsyncGenerator` :class:`AsyncIterator` ``asend``, ``athrow`` ``aclose``, ``__aiter__``…
Dcontextlib.rst463 The :meth:`close` method is not implemented, :meth:`aclose` must be used
480 .. method:: aclose()
Dasyncio-eventloop.rst152 close with an :meth:`~agen.aclose()` call. After calling this method,
/external/python/cpython3/Lib/asyncio/
Dbase_events.py485 self.call_soon_threadsafe(self.create_task, agen.aclose())
509 *[ag.aclose() for ag in closing_agens],
/external/python/cpython3/Doc/reference/
Dexpressions.rst649 generator-iterator's :meth:`~agen.aclose` method and run the resulting
655 and presumably calls :meth:`~agen.aclose` and executes the coroutine.
724 .. coroutinemethod:: agen.aclose()
737 further calls to :meth:`aclose` will return an awaitable that does nothing.