Issue #13530: Document os.lseek() result

Patch written by Jérémy Anger.
This commit is contained in:
Victor Stinner 2011-12-17 23:15:09 +01:00
parent 136ea49b39
commit e83f899364
3 changed files with 4 additions and 2 deletions

View file

@ -5687,7 +5687,8 @@ posix_dup2(PyObject *self, PyObject *args)
PyDoc_STRVAR(posix_lseek__doc__,
"lseek(fd, pos, how) -> newpos\n\n\
Set the current position of a file descriptor.");
Set the current position of a file descriptor.\n\
Return the new cursor position in bytes, starting from the beginning.");
static PyObject *
posix_lseek(PyObject *self, PyObject *args)