summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-04-26 14:39:35 (GMT)
committerJesus Cea <jcea@jcea.es>2012-04-26 14:39:35 (GMT)
commit2b47f0a23ffcb0cd86dc9eacf379fbd329b895c7 (patch)
treee7a04c686ef2b72e9d4495b88e8f87c58cfd5e11 /Doc/library/io.rst
parent790a9b4c193a9f3323138a8c1c1d074a6b6289f0 (diff)
downloadcpython-2b47f0a23ffcb0cd86dc9eacf379fbd329b895c7.zip
cpython-2b47f0a23ffcb0cd86dc9eacf379fbd329b895c7.tar.gz
cpython-2b47f0a23ffcb0cd86dc9eacf379fbd329b895c7.tar.bz2
Close #10142: Support for SEEK_HOLE/SEEK_DATA
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r--Doc/library/io.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 4d564bb..ff4dc75 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -291,6 +291,11 @@ I/O Base Classes
.. versionadded:: 3.1
The ``SEEK_*`` constants.
+ .. versionadded:: 3.3
+ Some operating systems could support additional values, like
+ :data:`os.SEEK_HOLE` or :data:`os.SEEK_DATA`. The valid values
+ for a file could depend on it being open in text or binary mode.
+
.. method:: seekable()
Return ``True`` if the stream supports random access. If ``False``,