mirror of https://github.com/python/cpython
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
This commit is contained in:
parent
3fe7fa316f
commit
53c2935dac
|
@ -879,7 +879,7 @@ class ZipExtFile(io.BufferedIOBase):
|
||||||
|
|
||||||
def read(self, n=-1):
|
def read(self, n=-1):
|
||||||
"""Read and return up to n bytes.
|
"""Read and return up to n bytes.
|
||||||
If the argument is omitted, None, or negative, data is read and returned until EOF is reached..
|
If the argument is omitted, None, or negative, data is read and returned until EOF is reached.
|
||||||
"""
|
"""
|
||||||
if n is None or n < 0:
|
if n is None or n < 0:
|
||||||
buf = self._readbuffer[self._offset:]
|
buf = self._readbuffer[self._offset:]
|
||||||
|
|
Loading…
Reference in New Issue