mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #13530: Document os.lseek() result
Patch written by Jérémy Anger.
This commit is contained in:
commit
25ec056cc2
3 changed files with 4 additions and 2 deletions
|
@ -6946,7 +6946,8 @@ posix_lockf(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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue