]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
authornick sung <sungboss2004@gmail.com>
Thu, 14 Mar 2019 19:26:25 +0000 (03:26 +0800)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 14 Mar 2019 19:26:25 +0000 (21:26 +0200)
Lib/zipfile.py

index dc16f6d464fde6aa42d1002d2184ef49aec4c235..61cd929f614fa0f4c372f1129f3cc966c3b8ef49 100644 (file)
@@ -879,7 +879,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:]