summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-21 11:49:39 (GMT)
committerGitHub <noreply@github.com>2023-07-21 11:49:39 (GMT)
commit84e52171b541ecc01f2d738cf82f5d4199a4bce7 (patch)
treed71b78f93d8cc1c1baa5c45435a75b130dfed5d2 /Doc/library/io.rst
parent4be0f157ea7000ded8d4a3ae818a74b026f1fed3 (diff)
downloadcpython-84e52171b541ecc01f2d738cf82f5d4199a4bce7.zip
cpython-84e52171b541ecc01f2d738cf82f5d4199a4bce7.tar.gz
cpython-84e52171b541ecc01f2d738cf82f5d4199a4bce7.tar.bz2
[3.12] gh-106909: Use role :const: for referencing module constants (GH-106910) (GH-106956)
(cherry picked from commit 4b9948617f91175783609769aa6160e5b49b9ccc)
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r--Doc/library/io.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index c9249da..7eec1f8 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -423,7 +423,7 @@ I/O Base Classes
.. versionadded:: 3.3
Some operating systems could support additional values, like
- :data:`os.SEEK_HOLE` or :data:`os.SEEK_DATA`. The valid values
+ :const:`os.SEEK_HOLE` or :const:`os.SEEK_DATA`. The valid values
for a file could depend on it being open in text or binary mode.
.. method:: seekable()