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 135e834 commit 1a10c47Copy full SHA for 1a10c47
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