Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b6cdc1c

Browse files
committed
MERGE: Docs: 'os.pwrite()' needs bytes, not strings
2 parents 35c78ba + 67503c5 commit b6cdc1c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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)