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>
diff --git a/Lib/zipfile.py b/Lib/zipfile.py
index d2d3b69..75dc59d 100644
--- a/Lib/zipfile.py
+++ b/Lib/zipfile.py
@@ -875,7 +875,7 @@
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:]