Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ sleep
Method
sleep
Lib/test/test_asyncio/test_tasks.py:748–749 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
746
self.set_event_loop(loop)
747
748
async
def
sleep():
749
await asyncio.sleep(10)
750
751
async
def
coro():
752
task = self.new_task(loop, sleep())
Callers
15
exec_module
Method · 0.45
find_spec
Method · 0.45
do_import
Method · 0.45
inner
Method · 0.45
test_accept_connection_zero_one
Method · 0.45
test_accept_connection_multiple
Method · 0.45
test_accept_connection_skip_connectionabortederror
Method · 0.45
test_write_eof_after_close
Method · 0.45
asgi
Method · 0.45
test_kill_issue43884
Method · 0.45
execute
Method · 0.45
check_stdout_output
Method · 0.45
Calls
1
set_result
Method · 0.45
Tested by
no test coverage detected