diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-17 22:15:22 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-17 22:15:22 (GMT) |
commit | 25ec056cc2bab9d0dd6f7665911f246e491744c5 (patch) | |
tree | 6acd0e4cfdcadac4feec49dd37fbd5b661ac78d4 /Modules | |
parent | bb305de584414f082afc1cbc2cd61160ef46d88a (diff) | |
parent | e83f899364607d9c6ca8413f0db6bca6bd39953a (diff) | |
download | cpython-25ec056cc2bab9d0dd6f7665911f246e491744c5.zip cpython-25ec056cc2bab9d0dd6f7665911f246e491744c5.tar.gz cpython-25ec056cc2bab9d0dd6f7665911f246e491744c5.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 acdc00c..ea3665d 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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) |