Skip to content

Commit 0b9bd5b

Browse files
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
(cherry picked from commit 53c2935) Co-authored-by: nick sung <sungboss2004@gmail.com>
1 parent 9818360 commit 0b9bd5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/zipfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ def readable(self):
875875

876876
def read(self, n=-1):
877877
"""Read and return up to n bytes.
878-
If the argument is omitted, None, or negative, data is read and returned until EOF is reached..
878+
If the argument is omitted, None, or negative, data is read and returned until EOF is reached.
879879
"""
880880
if n is None or n < 0:
881881
buf = self._readbuffer[self._offset:]

0 commit comments

Comments
 (0)