]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-107801: Improve the accuracy of io.IOBase.seek docs (#108268) (#108656)
authorErlend E. Aasland <erlend@python.org>
Tue, 29 Aug 2023 19:57:49 +0000 (21:57 +0200)
committerGitHub <noreply@github.com>
Tue, 29 Aug 2023 19:57:49 +0000 (19:57 +0000)
commitd79216d48fae171793868c03d1257c4e07957a0c
tree7a04a2287cc21b74bc4d70cd3c70ee2bf34f1011
parent34f84f2b9f60d35a142fcdf2d2b855914b69de6d
[3.11] gh-107801: Improve the accuracy of io.IOBase.seek docs (#108268) (#108656)

(cherry picked from commit 8178a88bd81edae87d6974483e4de9b32e808797)

- 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/iobase.c