Implement issue #4285, convert sys.version_info to a named
tuple. Patch by Ross Light.
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index afdf52c..8e6f399 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -853,9 +853,13 @@
    *micro*, *releaselevel*, and *serial*.  All values except *releaselevel* are
    integers; the release level is ``'alpha'``, ``'beta'``, ``'candidate'``, or
    ``'final'``.  The ``version_info`` value corresponding to the Python version 2.0
-   is ``(2, 0, 0, 'final', 0)``.
+   is ``(2, 0, 0, 'final', 0)``.  The components can also be accessed by name,
+   so ``sys.version_info[0]`` is equivalent to ``sys.version_info.major``
+   and so on.
 
    .. versionadded:: 2.0
+   .. versionchanged:: 2.7
+      Added named component attributes
 
 
 .. data:: warnoptions