Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1a1af2

Browse files
committed
Fix typo in bz2 module.
1 parent 62666e1 commit f1a1af2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/bz2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def _check_can_seek(self):
155155
if not self.seekable():
156156
self._check_not_closed()
157157
raise io.UnsupportedOperation("Seeking is only supported "
158-
"on files opening for reading")
158+
"on files open for reading")
159159

160160
# Fill the readahead buffer if it is empty. Returns False on EOF.
161161
def _fill_buffer(self):

0 commit comments

Comments
 (0)