]> granicus.if.org Git - python/commitdiff
Fix typo in bz2 module.
authorNadeem Vawda <nadeem.vawda@gmail.com>
Tue, 24 May 2011 22:32:08 +0000 (00:32 +0200)
committerNadeem Vawda <nadeem.vawda@gmail.com>
Tue, 24 May 2011 22:32:08 +0000 (00:32 +0200)
Lib/bz2.py

index 9506b4ad3b7c8074fa60d43009119448948e188d..8ffeaac1e839841f88f0f2d2fd75f7b7e44b6e78 100644 (file)
@@ -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):