[Python-checkins] fix typo in gzip.py (GH-12928)

Inada Naoki webhook-mailer at python.org
Wed Apr 24 05:21:52 EDT 2019


https://github.com/python/cpython/commit/4f5a3493b534a95fbb01d593b1ffe320db6b395e
commit: 4f5a3493b534a95fbb01d593b1ffe320db6b395e
branch: master
author: Maximilian Nöthe <maximilian.noethe at tu-dortmund.de>
committer: Inada Naoki <songofacandy at gmail.com>
date: 2019-04-24T18:21:02+09:00
summary:

fix typo in gzip.py (GH-12928)

files:
M Lib/gzip.py

diff --git a/Lib/gzip.py b/Lib/gzip.py
index 948fec293e23..7c8618741988 100644
--- a/Lib/gzip.py
+++ b/Lib/gzip.py
@@ -283,7 +283,7 @@ def read(self, size=-1):
     def read1(self, size=-1):
         """Implements BufferedIOBase.read1()
 
-        Reads up to a buffer's worth of data is size is negative."""
+        Reads up to a buffer's worth of data if size is negative."""
         self._check_not_closed()
         if self.mode != READ:
             import errno



More information about the Python-checkins mailing list