summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/bz2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bz2.py b/Lib/bz2.py
index 9506b4ad3b..8ffeaac1e8 100644
--- a/Lib/bz2.py
+++ b/Lib/bz2.py
@@ -155,7 +155,7 @@ class BZ2File(io.BufferedIOBase):
if not self.seekable():
self._check_not_closed()
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.
def _fill_buffer(self):