fix typo in gzip.py (GH-12928)

This commit is contained in:
Maximilian Nöthe 2019-04-24 11:21:02 +02:00 committed by Inada Naoki
parent d246a6766b
commit 4f5a3493b5
1 changed files with 1 additions and 1 deletions

View 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