summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-06-22 16:32:07 (GMT)
committerJesus Cea <jcea@jcea.es>2012-06-22 16:32:07 (GMT)
commit9436361e4cdd7d3dc5f42674b54995c4915afb59 (patch)
tree18ecfd666aa3101811f6e79a5ca883293917a88b /Doc/library/io.rst
parentff493c9c465ba9502629bf5001f690068be97f33 (diff)
downloadcpython-9436361e4cdd7d3dc5f42674b54995c4915afb59.zip
cpython-9436361e4cdd7d3dc5f42674b54995c4915afb59.tar.gz
cpython-9436361e4cdd7d3dc5f42674b54995c4915afb59.tar.bz2
Closes #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 e30a016..1d3d702 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``,