summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-04-27 14:22:32 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-04-27 14:22:32 (GMT)
commit10f3d7acbd69206bd9166f812d0503fed187eb5b (patch)
tree2c0ac49b6b563be36b86c3b7c40cc8d54f7e5e9f
parent16190c8236f6d154507353850916cd49292cc720 (diff)
downloadcpython-10f3d7acbd69206bd9166f812d0503fed187eb5b.zip
cpython-10f3d7acbd69206bd9166f812d0503fed187eb5b.tar.gz
cpython-10f3d7acbd69206bd9166f812d0503fed187eb5b.tar.bz2
Change markup so it generates a link
-rw-r--r--Doc/library/__future__.rst2
-rw-r--r--Doc/library/sys.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/__future__.rst b/Doc/library/__future__.rst
index 3c42393..2348217 100644
--- a/Doc/library/__future__.rst
+++ b/Doc/library/__future__.rst
@@ -26,7 +26,7 @@ Each statement in :file:`__future__.py` is of the form::
where, normally, *OptionalRelease* is less than *MandatoryRelease*, and both are
-5-tuples of the same form as ``sys.version_info``::
+5-tuples of the same form as :data:`sys.version_info`::
(PY_MAJOR_VERSION, # the 2 in 2.1.0a3; an int
PY_MINOR_VERSION, # the 1; an int
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index e51e8ea..acf5763 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -447,8 +447,8 @@ always available.
This is called ``hexversion`` since it only really looks meaningful when viewed
as the result of passing it to the built-in :func:`hex` function. The
- ``version_info`` value may be used for a more human-friendly encoding of the
- same information.
+ struct sequence :data:`sys.version_info` may be used for a more human-friendly
+ encoding of the same information.
.. data:: int_info