summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-03-14 21:52:59 -0700
committerGitHub <noreply@github.com>2019-03-14 21:52:59 -0700
commit0b9bd5b4c31f4bfcd7bbdc13b5ebc54ce0dbd0c1 (patch)
treece2b5153088ac0d8bdc62b6bedc7d8c6ab2d6dc1
parent9818360ed94b39c4605951077b73ae798cddbfb9 (diff)
downloadcpython-git-0b9bd5b4c31f4bfcd7bbdc13b5ebc54ce0dbd0c1.tar.gz
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
(cherry picked from commit 53c2935dac9d814a3d0bae504dae2ee1c941c731) Co-authored-by: nick sung <sungboss2004@gmail.com>
-rw-r--r--Lib/zipfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/zipfile.py b/Lib/zipfile.py
index d2d3b69328..75dc59d1fc 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:]