[Python-checkins] Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
Serhiy Storchaka
webhook-mailer at python.org
Thu Mar 14 15:26:32 EDT 2019
https://github.com/python/cpython/commit/53c2935dac9d814a3d0bae504dae2ee1c941c731
commit: 53c2935dac9d814a3d0bae504dae2ee1c941c731
branch: master
author: nick sung <sungboss2004 at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2019年03月14日T21:26:25+02:00
summary:
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
files:
M Lib/zipfile.py
diff --git a/Lib/zipfile.py b/Lib/zipfile.py
index dc16f6d464fd..61cd929f614f 100644
--- a/Lib/zipfile.py
+++ b/Lib/zipfile.py
@@ -879,7 +879,7 @@ def readable(self):
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:]
More information about the Python-checkins
mailing list