Skip to content

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

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

erlend-aasland merged 1 commit into
python:3.11from
erlend-aasland:backport-3.11-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--108264.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

2 participants