mirror of
https://github.com/python/cpython.git
synced 2026-04-22 20:01:13 +00:00
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
(cherry picked from commit 53c2935dac)
Co-authored-by: nick sung <sungboss2004@gmail.com>
This commit is contained in:
parent
9818360ed9
commit
0b9bd5b4c3
1 changed files with 1 additions and 1 deletions
|
|
@ -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:]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue