Home
last modified time | relevance | path

Searched refs:_is_coroutine (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/asyncio/
Dcoroutines.py156 wrapper._is_coroutine = _is_coroutine # For iscoroutinefunction().
161 _is_coroutine = object() variable
167 getattr(func, '_is_coroutine', None) is _is_coroutine)
Dtasks.py26 from .coroutines import _is_coroutine
646 _wrap_awaitable._is_coroutine = _is_coroutine
/third_party/python/Lib/test/test_asyncio/
Dtest_base_events.py44 m_socket.getaddrinfo._is_coroutine = False
1283 self.loop._add_reader._is_coroutine = False
1285 self.loop._add_writer._is_coroutine = False
1327 self.loop._add_reader._is_coroutine = False
1329 self.loop._add_writer._is_coroutine = False
1356 self.loop._add_reader._is_coroutine = False
1358 self.loop._add_writer._is_coroutine = False
1580 m_socket.getaddrinfo._is_coroutine = False
1591 m_socket.getaddrinfo._is_coroutine = False
1851 self.loop._add_reader._is_coroutine = False
Dtest_subprocess.py50 protocol.connection_made._is_coroutine = False
51 protocol.process_exited._is_coroutine = False
Dtest_selector_events.py63 self.loop.add_reader._is_coroutine = False
77 self.loop._add_reader._is_coroutine = False
/third_party/python/Lib/unittest/
Dmock.py250 mock._is_coroutine = asyncio.coroutines._is_coroutine
2182 self.__dict__['_is_coroutine'] = asyncio.coroutines._is_coroutine
/third_party/python/Modules/
D_asynciomodule.c132 _is_coroutine(PyObject *coro) in _is_coroutine() function
185 return _is_coroutine(coro); in is_coroutine()