mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
merge 3.3
This commit is contained in:
commit
e08b583d88
1 changed files with 3 additions and 3 deletions
|
|
@ -7346,7 +7346,7 @@ posix_lseek(PyObject *self, PyObject *args)
|
||||||
|
|
||||||
|
|
||||||
PyDoc_STRVAR(posix_read__doc__,
|
PyDoc_STRVAR(posix_read__doc__,
|
||||||
"read(fd, buffersize) -> string\n\n\
|
"read(fd, buffersize) -> bytes\n\n\
|
||||||
Read a file descriptor.");
|
Read a file descriptor.");
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
|
|
@ -7516,8 +7516,8 @@ posix_pread(PyObject *self, PyObject *args)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
PyDoc_STRVAR(posix_write__doc__,
|
PyDoc_STRVAR(posix_write__doc__,
|
||||||
"write(fd, string) -> byteswritten\n\n\
|
"write(fd, data) -> byteswritten\n\n\
|
||||||
Write a string to a file descriptor.");
|
Write bytes to a file descriptor.");
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
posix_write(PyObject *self, PyObject *args)
|
posix_write(PyObject *self, PyObject *args)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue