mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
Fix typo in bz2 module.
This commit is contained in:
parent
62666e1db1
commit
f1a1af21eb
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class BZ2File(io.BufferedIOBase):
|
||||||
if not self.seekable():
|
if not self.seekable():
|
||||||
self._check_not_closed()
|
self._check_not_closed()
|
||||||
raise io.UnsupportedOperation("Seeking is only supported "
|
raise io.UnsupportedOperation("Seeking is only supported "
|
||||||
"on files opening for reading")
|
"on files open for reading")
|
||||||
|
|
||||||
# Fill the readahead buffer if it is empty. Returns False on EOF.
|
# Fill the readahead buffer if it is empty. Returns False on EOF.
|
||||||
def _fill_buffer(self):
|
def _fill_buffer(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue