]> granicus.if.org Git - python/commitdiff
Docstring fix.
authorGeorg Brandl <georg@python.org>
Sun, 6 Apr 2008 20:27:02 +0000 (20:27 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 6 Apr 2008 20:27:02 +0000 (20:27 +0000)
Lib/io.py

index fe03bf2bfc06c00be8940f8f875e335f1824b47a..47d1ac570dc36567a0f132c2e28ee0091cb6350a 100644 (file)
--- a/Lib/io.py
+++ b/Lib/io.py
@@ -246,8 +246,8 @@ class IOBase(metaclass=abc.ABCMeta):
 
         Seek to byte offset pos relative to position indicated by whence:
              0  Start of stream (the default).  pos should be >= 0;
-             1  Current position - whence may be negative;
-             2  End of stream - whence usually negative.
+             1  Current position - pos may be negative;
+             2  End of stream - pos usually negative.
         Returns the new absolute position.
         """
         self._unsupported("seek")