mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
fix typo in gzip.py (GH-12928)
This commit is contained in:
parent
d246a6766b
commit
4f5a3493b5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue