From: Éric Araujo Date: Wed, 27 Apr 2011 14:22:32 +0000 (+0200) Subject: Change markup so it generates a link X-Git-Tag: v3.2.1b1~70^2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=10f3d7acbd69206bd9166f812d0503fed187eb5b;p=thirdparty%2FPython%2Fcpython.git Change markup so it generates a link --- diff --git a/Doc/library/__future__.rst b/Doc/library/__future__.rst index 3c423939f19e..2348217f3dc3 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 e51e8eaba839..acf57638191e 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