]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 15 Mar 2019 04:52:59 +0000 (21:52 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Mar 2019 04:52:59 +0000 (21:52 -0700)
(cherry picked from commit 53c2935dac9d814a3d0bae504dae2ee1c941c731)

Co-authored-by: nick sung <sungboss2004@gmail.com>
Lib/zipfile.py

index d2d3b693282d3f9d83bb926fccb99c9a677f1a7e..75dc59d1fc29b2119d175b586732187fa9e64f44 100644 (file)
@@ -875,7 +875,7 @@ class ZipExtFile(io.BufferedIOBase):
 
     def read(self, n=-1):
         """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:
             buf = self._readbuffer[self._offset:]