mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
This commit is contained in:
parent
3fe7fa316f
commit
53c2935dac
1 changed files with 1 additions and 1 deletions
|
@ -879,7 +879,7 @@ class ZipExtFile(io.BufferedIOBase):
|
|||
|
||||
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