[Python-checkins] cpython (merge 3.4 -> default): MERGE: Docs: 'os.pwrite()' needs bytes, not strings

jesus.cea python-checkins at python.org
Mon Oct 20 16:20:09 CEST 2014


https://hg.python.org/cpython/rev/4ea3cc4d1d9d
changeset:   93147:4ea3cc4d1d9d
parent:      93145:7e3ec8ad3f20
parent:      93146:de4f3e93e475
user:        Jesus Cea <jcea at jcea.es>
date:        Mon Oct 20 16:19:33 2014 +0200
summary:
  MERGE: Docs: 'os.pwrite()' needs bytes, not strings

files:
  Doc/library/os.rst |  8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1056,10 +1056,10 @@
    .. versionadded:: 3.3
 
 
-.. function:: pwrite(fd, string, offset)
-
-   Write *string* to a file descriptor, *fd*, from *offset*, leaving the file
-   offset unchanged.
+.. function:: pwrite(fd, str, offset)
+
+   Write *bytestring* to a file descriptor, *fd*, from *offset*,
+   leaving the file offset unchanged.
 
    Availability: Unix.
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list