[Python-checkins] Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
Miss Islington (bot)
webhook-mailer at python.org
Fri Mar 15 00:53:02 EDT 2019
https://github.com/python/cpython/commit/0b9bd5b4c31f4bfcd7bbdc13b5ebc54ce0dbd0c1
commit: 0b9bd5b4c31f4bfcd7bbdc13b5ebc54ce0dbd0c1
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-03-14T21:52:59-07:00
summary:
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
(cherry picked from commit 53c2935dac9d814a3d0bae504dae2ee1c941c731)
Co-authored-by: nick sung <sungboss2004 at gmail.com>
files:
M Lib/zipfile.py
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 @@ 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