]> granicus.if.org Git - python/commitdiff
fix typo in gzip.py (GH-12928)
authorMaximilian Nöthe <maximilian.noethe@tu-dortmund.de>
Wed, 24 Apr 2019 09:21:02 +0000 (11:21 +0200)
committerInada Naoki <songofacandy@gmail.com>
Wed, 24 Apr 2019 09:21:02 +0000 (18:21 +0900)
Lib/gzip.py

index 948fec293e23d95a45b62e5303ef6fd023e2a707..7c861874198842c018bd56ceec71dd5ad75d0099 100644 (file)
@@ -283,7 +283,7 @@ class GzipFile(_compression.BaseStream):
     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