Uh oh!
There was an error while loading. Please reload this page.
gh-107801: Improve the accuracy of os.lseek docs - #107935
Conversation
- name the last parameter *whence*, like it is for seek() methods on file objects - add param docstrings - structure the valid *whence* values as a list
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
serhiy-storchaka
left a comment
There was a problem hiding this comment.
See my comment in #107936 (review). These changes are not independent and should be considered in one PR.
erlend-aasland
commented
Aug 15, 2023
I think it is fine to document constants in one PR and update the docs of the function in another PR. Documenting the constants also unlock my draft PR to clean up the Sphinx warnings in Lib/library/os.rst. |
erlend-aasland
commented
Aug 15, 2023
I'll hold this until #107936 has landed. |
miss-islington
commented
Aug 18, 2023
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
miss-islington
commented
Aug 18, 2023
Sorry, @erlend-aasland, I could not cleanly backport this to |
miss-islington
commented
Aug 18, 2023
Sorry, @erlend-aasland, I could not cleanly backport this to |
bedevere-bot
commented
Aug 19, 2023
GH-108136 is a backport of this pull request to the 3.12 branch. |
bedevere-bot
commented
Aug 19, 2023
GH-108137 is a backport of this pull request to the 3.11 branch. |
file objects
📚 Documentation preview 📚: https://cpython-previews--107935.org.readthedocs.build/