]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-107801: Improve the accuracy of os.lseek docs (#107935)
authorErlend E. Aasland <erlend@python.org>
Fri, 18 Aug 2023 17:53:51 +0000 (19:53 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Aug 2023 17:53:51 +0000 (19:53 +0200)
commitdd4442c8f597af1ec3eaf20f7ad89c4ac7e2dbc9
tree8cc7ae0459d623a8f5dc23b6aa13467caa987523
parent6db39b1460727e8820b45e5c083e5839af0352aa
gh-107801: Improve the accuracy of os.lseek docs (#107935)

- name the last parameter *whence*, like it is for seek() methods on
  file objects
- add param docstrings
- structure the valid *whence* params

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/library/os.rst
Modules/clinic/posixmodule.c.h
Modules/posixmodule.c