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

Skip to content

Commit 5358434

Browse files
committed
Docstring fix.
1 parent 99ddc8c commit 5358434

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ def seek(self, pos: int, whence: int = 0) -> int:
246246
247247
Seek to byte offset pos relative to position indicated by whence:
248248
0 Start of stream (the default). pos should be >= 0;
249-
1 Current position - whence may be negative;
250-
2 End of stream - whence usually negative.
249+
1 Current position - pos may be negative;
250+
2 End of stream - pos usually negative.
251251
Returns the new absolute position.
252252
"""
253253
self._unsupported("seek")

0 commit comments

Comments
 (0)