Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ write
Method
write
Lib/test/test_asyncio/test_sslproto.py:147–149 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
145
async
def
main():
146
# writes data to transport
147
async
def
write():
148
writer.write(data)
149
await writer.drain()
150
151
# try to write for the first time
152
await write()
Callers
15
_basetest_open_connection
Method · 0.45
_basetest_open_connection_no_loop_ssl
Method · 0.45
handle_client
Method · 0.45
client
Method · 0.45
server_handler
Method · 0.45
test_wait_closed_on_close
Method · 0.45
test_wait_closed_on_close_with_unread_data
Method · 0.45
inner
Method · 0.45
test_write
Method · 0.45
test_write_bytearray
Method · 0.45
test_write_memoryview
Method · 0.45
test_write_no_data
Method · 0.45
Calls
1
drain
Method · 0.45
Tested by
no test coverage detected