From 478b75c3f7ed7f2031bcd96402a2d942124fbfd2 Mon Sep 17 00:00:00 2001 From: Nabil BENDAFI Date: Mon, 9 Oct 2017 15:44:48 +0200 Subject: [PATCH] Fix typo in `pwrite` documentation --- Doc/library/os.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.