diff options
-rw-r--r-- | Modules/posixmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 615ff82..bedbc1c 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -7346,7 +7346,7 @@ posix_lseek(PyObject *self, PyObject *args) PyDoc_STRVAR(posix_read__doc__, -"read(fd, buffersize) -> string\n\n\ +"read(fd, buffersize) -> bytes\n\n\ Read a file descriptor."); static PyObject * @@ -7516,8 +7516,8 @@ posix_pread(PyObject *self, PyObject *args) #endif PyDoc_STRVAR(posix_write__doc__, -"write(fd, string) -> byteswritten\n\n\ -Write a string to a file descriptor."); +"write(fd, data) -> byteswritten\n\n\ +Write bytes to a file descriptor."); static PyObject * posix_write(PyObject *self, PyObject *args) |