Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd8219 commit e0f8a3eCopy full SHA for e0f8a3e
1 file changed
Doc/library/asyncio-stream.rst
@@ -352,6 +352,7 @@ TCP echo client using the :func:`asyncio.open_connection` function::
352
353
print(f'Send: {message!r}')
354
writer.write(message.encode())
355
+ await writer.drain()
356
357
data = await reader.read(100)
358
print(f'Received: {data.decode()!r}')
0 commit comments