Skip to content

Commit 69ddb4f

Browse files
Use SemBr
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
1 parent d9948c8 commit 69ddb4f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Doc/library/io.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -730,10 +730,9 @@ than raw I/O does.
730730

731731
.. method:: peek(size=1, /)
732732

733-
Return bytes from the current position onwards but without advancing the
734-
position. If the size argument is less than one or larger than the number
735-
of available bytes, a copy of the buffer from the current position until
736-
the end is returned.
733+
Return bytes from the current position onwards without advancing the position.
734+
If the size argument is less than one or larger than the number of available bytes,
735+
a copy of the buffer from the current position until the end is returned.
737736
Return an empty bytes object at EOF.
738737

739738
.. versionadded:: 3.13

0 commit comments

Comments
 (0)