Skip to content

[3.11] gh-107801: Improve the accuracy of os.lseek docs (#107935)#108137

Merged
erlend-aasland merged 1 commit intopython:3.11from
erlend-aasland:backport-3.11-lseek
Aug 19, 2023
Merged

[3.11] gh-107801: Improve the accuracy of os.lseek docs (#107935)#108137
erlend-aasland merged 1 commit intopython:3.11from
erlend-aasland:backport-3.11-lseek

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Aug 19, 2023

  • name the last parameter whence, like it is for seek() methods on
    file objects
  • add param docstrings
  • structure the valid whence params

(cherry picked from commit dd4442c)

Co-authored-by: Adam Turner 9087854+AA-Turner@users.noreply.github.com


📚 Documentation preview 📚: https://cpython-previews--108137.org.readthedocs.build/

…#107935)

- name the last parameter *whence*, like it is for seek() methods on
  file objects
- add param docstrings
- structure the valid *whence* params

(cherry picked from commit dd4442c)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants