diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 86add0cb8e17dc..5dca6876bf1a79 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1087,10 +1087,10 @@ or `the MSDN `_ on Windo .. versionadded:: 3.3 -.. function:: pwrite(fd, str, offset) +.. function:: pwrite(fd, buffer, offset) - Write *bytestring* to a file descriptor, *fd*, from *offset*, - leaving the file offset unchanged. + Write *buffer* to a file descriptor, *fd*, from *offset*, + leaving the file offset unchanged. Return the number of bytes actually written. Availability: Unix.