Docs: 'os.pwrite()' needs bytes, not strings

This commit is contained in:
Jesus Cea 2014-10-20 16:18:24 +02:00
parent 2514f52f4f
commit 67503c5f1c
1 changed files with 3 additions and 3 deletions

View File

@ -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.