Skip to content

Commit b328e4b

Browse files
miss-islington180909hugovkerlend-aasland
authored
[3.13] gh-72631: Fix wrong documentation for GzipFile.peek (GH-29820) (#132353)
Co-authored-by: 180909 <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]>
1 parent f24f241 commit b328e4b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Doc/library/gzip.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ The module defines the following items:
122122
.. method:: peek(n)
123123

124124
Read *n* uncompressed bytes without advancing the file position.
125-
At most one single read on the compressed stream is done to satisfy
126-
the call. The number of bytes returned may be more or less than
127-
requested.
125+
The number of bytes returned may be more or less than requested.
128126

129127
.. note:: While calling :meth:`peek` does not change the file position of
130128
the :class:`GzipFile`, it may change the position of the underlying

0 commit comments

Comments
 (0)