From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 15 Mar 2019 04:52:59 +0000 (-0700) Subject: Fix typo duplicate period in a docstring in the zipfile module. (GH-12326) X-Git-Tag: v3.7.4rc1~339 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b9bd5b4c31f4bfcd7bbdc13b5ebc54ce0dbd0c1;p=thirdparty%2FPython%2Fcpython.git Fix typo duplicate period in a docstring in the zipfile module. (GH-12326) (cherry picked from commit 53c2935dac9d814a3d0bae504dae2ee1c941c731) Co-authored-by: nick sung --- diff --git a/Lib/zipfile.py b/Lib/zipfile.py index d2d3b693282d..75dc59d1fc29 100644 --- a/Lib/zipfile.py +++ b/Lib/zipfile.py @@ -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:]