Skip to content

Commit c8faf57

Browse files
authored
Update _pyio.py
1 parent 6e4f641 commit c8faf57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_pyio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2472,7 +2472,7 @@ def _reset_encoder(position):
24722472
encoder.reset()
24732473

24742474
if self.closed:
2475-
raise ValueError("tell on closed file")
2475+
raise ValueError("seek on closed file")
24762476
if not self._seekable:
24772477
raise UnsupportedOperation("underlying stream is not seekable")
24782478
if whence == SEEK_CUR:

0 commit comments

Comments
 (0)