mirror of
https://github.com/python/cpython.git
synced 2025-09-19 07:00:59 +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):
|
def read1(self, size=-1):
|
||||||
"""Implements BufferedIOBase.read1()
|
"""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()
|
self._check_not_closed()
|
||||||
if self.mode != READ:
|
if self.mode != READ:
|
||||||
import errno
|
import errno
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue