indicate that read/write work with bytes (closes #18009)

This commit is contained in:
Benjamin Peterson 2013-05-24 14:35:57 -07:00
parent c3511c1dd8
commit 3b08a2978e
1 changed files with 3 additions and 3 deletions

View File

@ -7838,7 +7838,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 *
@ -8008,8 +8008,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)