mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Docs: 'os.pwrite()' needs bytes, not strings
This commit is contained in:
parent
2514f52f4f
commit
67503c5f1c
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue