diff options
author | Jesus Cea <jcea@jcea.es> | 2014-10-20 14:19:33 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2014-10-20 14:19:33 (GMT) |
commit | b6cdc1c01b7aff253bd19417c4d02b780dc026b3 (patch) | |
tree | 1510de5df1d32d502d6ba14c21e9b40cda5a35ec /Doc/library/os.rst | |
parent | 35c78ba7ec00b7c007bb8a1b8f77cf3651d19209 (diff) | |
parent | 67503c5f1c39413465fc5fdc192eb0ff1b7334fe (diff) | |
download | cpython-b6cdc1c01b7aff253bd19417c4d02b780dc026b3.zip cpython-b6cdc1c01b7aff253bd19417c4d02b780dc026b3.tar.gz cpython-b6cdc1c01b7aff253bd19417c4d02b780dc026b3.tar.bz2 |
MERGE: Docs: 'os.pwrite()' needs bytes, not strings
Diffstat (limited to 'Doc/library/os.rst')
-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 f3e7b5d..2c14f8f 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -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. |