Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6489d0b + 3b08a29 commit e08b583Copy full SHA for e08b583
1 file changed
Modules/posixmodule.c
@@ -7346,7 +7346,7 @@ posix_lseek(PyObject *self, PyObject *args)
7346
7347
7348
PyDoc_STRVAR(posix_read__doc__,
7349
-"read(fd, buffersize) -> string\n\n\
+"read(fd, buffersize) -> bytes\n\n\
7350
Read a file descriptor.");
7351
7352
static PyObject *
@@ -7516,8 +7516,8 @@ posix_pread(PyObject *self, PyObject *args)
7516
#endif
7517
7518
PyDoc_STRVAR(posix_write__doc__,
7519
-"write(fd, string) -> byteswritten\n\n\
7520
-Write a string to a file descriptor.");
+"write(fd, data) -> byteswritten\n\n\
+Write bytes to a file descriptor.");
7521
7522
7523
posix_write(PyObject *self, PyObject *args)
0 commit comments