summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMaximilian Nöthe <maximilian.noethe@tu-dortmund.de>2019-04-24 09:21:02 (GMT)
committerInada Naoki <songofacandy@gmail.com>2019-04-24 09:21:02 (GMT)
commit4f5a3493b534a95fbb01d593b1ffe320db6b395e (patch)
treee9d7a7e31ea1345c308d02a4be6ab04b3a886e94 /Lib
parentd246a6766b9d8cc625112906299c4cb019944300 (diff)
downloadcpython-4f5a3493b534a95fbb01d593b1ffe320db6b395e.zip
cpython-4f5a3493b534a95fbb01d593b1ffe320db6b395e.tar.gz
cpython-4f5a3493b534a95fbb01d593b1ffe320db6b395e.tar.bz2
fix typo in gzip.py (GH-12928)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/gzip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/gzip.py b/Lib/gzip.py
index 948fec2..7c86187 100644
--- a/Lib/gzip.py
+++ b/Lib/gzip.py
@@ -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