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.
asyncio.StreamWriter
1 parent 7dfa048 commit 1c3950aCopy full SHA for 1c3950a
1 file changed
Doc/library/asyncio-stream.rst
@@ -321,6 +321,9 @@ StreamWriter
321
stream.write(data)
322
await stream.drain()
323
324
+ .. note::
325
+ The *data* buffer should be a C contiguous one-dimensional :term:`bytes-like object <bytes-like object>`.
326
+
327
.. method:: writelines(data)
328
329
The method writes a list (or any iterable) of bytes to the underlying socket
0 commit comments