https://github.com/python/cpython/commit/b328e4bc5765158da7494455036f891de5f1eddc commit: b328e4bc5765158da7494455036f891de5f1eddc branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: hugovk <1324225+hug...@users.noreply.github.com> date: 2025-04-10T11:27:20Z summary:
[3.13] gh-72631: Fix wrong documentation for GzipFile.peek (GH-29820) (#132353) Co-authored-by: 180909 <wjh180...@gmail.com> Co-authored-by: Hugo van Kemenade <hug...@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erl...@python.org> files: M Doc/library/gzip.rst diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst index 6b6e158f6eba2c..ccf9bbb28de14f 100644 --- a/Doc/library/gzip.rst +++ b/Doc/library/gzip.rst @@ -122,9 +122,7 @@ The module defines the following items: .. method:: peek(n) Read *n* uncompressed bytes without advancing the file position. - At most one single read on the compressed stream is done to satisfy - the call. The number of bytes returned may be more or less than - requested. + The number of bytes returned may be more or less than requested. .. note:: While calling :meth:`peek` does not change the file position of the :class:`GzipFile`, it may change the position of the underlying _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com