diff options
author | Jesus Cea <jcea@jcea.es> | 2014-10-20 14:18:24 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2014-10-20 14:18:24 (GMT) |
commit | 67503c5f1c39413465fc5fdc192eb0ff1b7334fe (patch) | |
tree | d2a3e638418126274f43c6b252083eb5701195c1 /Doc | |
parent | 2514f52f4f20723727efe9c686aa16a8d1ef3089 (diff) | |
download | cpython-67503c5f1c39413465fc5fdc192eb0ff1b7334fe.zip cpython-67503c5f1c39413465fc5fdc192eb0ff1b7334fe.tar.gz cpython-67503c5f1c39413465fc5fdc192eb0ff1b7334fe.tar.bz2 |
Docs: 'os.pwrite()' needs bytes, not strings
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/os.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 0a59108..f217a36 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -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. |