From 0b9bd5b4c31f4bfcd7bbdc13b5ebc54ce0dbd0c1 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 14 Mar 2019 21:52:59 -0700 Subject: [PATCH] Fix typo duplicate period in a docstring in the zipfile module. (GH-12326) (cherry picked from commit 53c2935dac9d814a3d0bae504dae2ee1c941c731) Co-authored-by: nick sung --- Lib/zipfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:] -- 2.47.3