Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)

This commit is contained in:
nick sung 2019-03-15 03:26:25 +08:00 committed by Serhiy Storchaka
parent 3fe7fa316f
commit 53c2935dac
1 changed files with 1 additions and 1 deletions

View File

@ -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:]