]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-107801: Improve the accuracy of io.IOBase.seek docs (#108268)
authorErlend E. Aasland <erlend@python.org>
Tue, 29 Aug 2023 19:13:38 +0000 (21:13 +0200)
committerGitHub <noreply@github.com>
Tue, 29 Aug 2023 19:13:38 +0000 (19:13 +0000)
commit8178a88bd81edae87d6974483e4de9b32e808797
treeb0d693c1ae0b344ab722ce790ca059535eac4892
parent59e46932c8d2dc6fe84a8cf144dde962838c0204
gh-107801: Improve the accuracy of io.IOBase.seek docs (#108268)

- Add param docstrings
- Link to os.SEEK_* constants
- Mention the return value in the initial paragraph

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