Skip to content

Commit af66128

Browse files
committed
MERGE: Docs: 'os.pwrite()' needs bytes, not strings
2 parents b4775a1 + e46d62a commit af66128

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/os.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,10 +1056,10 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
10561056
.. versionadded:: 3.3
10571057

10581058

1059-
.. function:: pwrite(fd, string, offset)
1059+
.. function:: pwrite(fd, str, offset)
10601060

1061-
Write *string* to a file descriptor, *fd*, from *offset*, leaving the file
1062-
offset unchanged.
1061+
Write *bytestring* to a file descriptor, *fd*, from *offset*,
1062+
leaving the file offset unchanged.
10631063

10641064
Availability: Unix.
10651065

0 commit comments

Comments
 (0)