File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -706,7 +706,7 @@ as internal buffering of data.
706706 by *how *: :const: `SEEK_SET ` or ``0 `` to set the position relative to the
707707 beginning of the file; :const: `SEEK_CUR ` or ``1 `` to set it relative to the
708708 current position; :const: `os.SEEK_END ` or ``2 `` to set it relative to the end of
709- the file.
709+ the file. Return the new cursor position in bytes, starting from the beginning.
710710
711711 Availability: Unix, Windows.
712712
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ John Anderson
3030Erik Andersén
3131Oliver Andrich
3232Ross Andrus
33+ Jérémy Anger
3334Jon Anglin
3435Éric Araujo
3536Alicia Arlen
Original file line number Diff line number Diff line change @@ -5687,7 +5687,8 @@ posix_dup2(PyObject *self, PyObject *args)
56875687
56885688PyDoc_STRVAR (posix_lseek__doc__ ,
56895689"lseek(fd, pos, how) -> newpos\n\n\
5690- Set the current position of a file descriptor." );
5690+ Set the current position of a file descriptor.\n\
5691+ Return the new cursor position in bytes, starting from the beginning." );
56915692
56925693static PyObject *
56935694posix_lseek (PyObject * self , PyObject * args )
You can’t perform that action at this time.
0 commit comments