Docs: 'os.pwrite()' needs bytes, not strings
This commit is contained in:
parent
2514f52f4f
commit
67503c5f1c
|
@ -1044,10 +1044,10 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
|
|||
.. versionadded:: 3.3
|
||||
|
||||
|
||||
.. function:: pwrite(fd, string, offset)
|
||||
.. function:: pwrite(fd, str, offset)
|
||||
|
||||
Write *string* to a file descriptor, *fd*, from *offset*, leaving the file
|
||||
offset unchanged.
|
||||
Write *bytestring* to a file descriptor, *fd*, from *offset*,
|
||||
leaving the file offset unchanged.
|
||||
|
||||
Availability: Unix.
|
||||
|
||||
|
|
Loading…
Reference in New Issue