[Python-checkins] cpython (3.1): Change markup so it generates a link

eric.araujo python-checkins at python.org
Wed Apr 27 16:39:09 CEST 2011


http://hg.python.org/cpython/rev/3207b6df5b80
changeset:   69626:3207b6df5b80
branch:      3.1
user:        Éric Araujo <merwok at netwok.org>
date:        Wed Apr 27 16:22:32 2011 +0200
summary:
  Change markup so it generates a link

files:
  Doc/library/__future__.rst |  2 +-
  Doc/library/sys.rst        |  4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Doc/library/__future__.rst b/Doc/library/__future__.rst
--- a/Doc/library/__future__.rst
+++ b/Doc/library/__future__.rst
@@ -26,7 +26,7 @@
 
 
 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
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -447,8 +447,8 @@
 
    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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list