Skip to content

[3.12] gh-107801: Improve the accuracy of io.TextIOWrapper.seek docs (#107933) - #108262

Merged
Yhg1s merged 1 commit into
python:3.12from
erlend-aasland:backport-3.12-io-seek
Aug 22, 2023
Merged

Yhg1s merged 1 commit into
python:3.12from
erlend-aasland:backport-3.12-io-seek

Conversation

@erlend-aasland

@erlend-aasland erlend-aasland commented Aug 22, 2023 •

Copy link
Copy Markdown
Contributor

(cherry picked from commit 7f87ebb)

Clearly document the supported seek() operations:

  • Rewind to the start of the stream
  • Restore a previous stream position (given by tell())
  • Fast-forward to the end of the stream

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

… docs (python#107933)

(cherry picked from commit 7f87ebb)

Clearly document the supported seek() operations:

- Rewind to the start of the stream
- Restore a previous stream position (given by tell())
- Fast-forward to the end of the stream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants