Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-107801: Improve the accuracy of os.lseek docs#107935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Conversation
erlend-aasland commented Aug 14, 2023 • edited by github-actions bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by github-actions bot
Uh oh!
There was an error while loading. Please reload this page.
- 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
AA-Turner left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
A
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/