mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
MERGE: Docs: 'os.pwrite()' needs bytes, not strings
This commit is contained in:
commit
b6cdc1c01b
1 changed files with 3 additions and 3 deletions
|
@ -1056,10 +1056,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