]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-107801: Improve the accuracy of io.IOBase.seek docs (#108268) (#108655)
authorErlend E. Aasland <erlend@python.org>
Tue, 29 Aug 2023 20:19:08 +0000 (22:19 +0200)
committerGitHub <noreply@github.com>
Tue, 29 Aug 2023 20:19:08 +0000 (22:19 +0200)
commit036dd6958a14014947904914065119123430df95
tree9d3a882a9cc5c7cba3b6f033048ec2811976db8b
parent4afc5d87161c7f079600380b3ef4579d9102ba97
[3.12] gh-107801: Improve the accuracy of io.IOBase.seek docs (#108268) (#108655)

(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/clinic/iobase.c.h
Modules/_io/iobase.c