summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornick sung <sungboss2004@gmail.com>2019-03-14 19:26:25 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-03-14 19:26:25 (GMT)
commit53c2935dac9d814a3d0bae504dae2ee1c941c731 (patch)
tree3256fcb4b90941ced85c7b17bc5bea0fda890dee
parent3fe7fa316f74ed630fbbcdf54564f15cda7cb045 (diff)
downloadcpython-53c2935dac9d814a3d0bae504dae2ee1c941c731.zip
cpython-53c2935dac9d814a3d0bae504dae2ee1c941c731.tar.gz
cpython-53c2935dac9d814a3d0bae504dae2ee1c941c731.tar.bz2
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
-rw-r--r--Lib/zipfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/zipfile.py b/Lib/zipfile.py
index dc16f6d..61cd929 100644
--- a/Lib/zipfile.py
+++ b/Lib/zipfile.py
@@ -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:]