diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-17 22:15:09 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-17 22:15:09 (GMT) |
commit | e83f899364607d9c6ca8413f0db6bca6bd39953a (patch) | |
tree | 30816a74c1e2512db9ea9a2e4316a04678ca0f93 /Modules | |
parent | 136ea49b3990d4ed1600be0d042c3676cfcece0f (diff) | |
download | cpython-e83f899364607d9c6ca8413f0db6bca6bd39953a.zip cpython-e83f899364607d9c6ca8413f0db6bca6bd39953a.tar.gz cpython-e83f899364607d9c6ca8413f0db6bca6bd39953a.tar.bz2 |
Issue #13530: Document os.lseek() result
Patch written by Jérémy Anger.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 66cd153..673877a 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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) |