Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Break the first sentence up, and remember to include the default value
  • Loading branch information
erlend-aasland committed Aug 14, 2023
commit 56d196b26d2b84a2c1266e73a03c071803d3db34
5 changes: 3 additions & 2 deletions Doc/library/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1043,9 +1043,10 @@ Text I/O
.. versionchanged:: 3.11
The method supports ``encoding="locale"`` option.

.. method:: seek(cookie, whence, /)
.. method:: seek(cookie, whence=os.SEEK_SET, /)

Set the stream position, and return the new stream position.
Set the stream position.
Return the new stream position as an :class:`int`.

Four operations are supported,
given by the following argument combinations:
Expand Down