]> granicus.if.org Git - python/commitdiff
#5778: document that sys.version can contain a newline.
authorGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 19:59:55 +0000 (19:59 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 19:59:55 +0000 (19:59 +0000)
Doc/library/sys.rst

index 770c267b71ce67dd6452b214dd446d7ef6f2ded5..0e90ac07fa8e1ca7d0ce87dc588202af9d9b91dc 100644 (file)
@@ -936,8 +936,9 @@ always available.
 
    A string containing the version number of the Python interpreter plus additional
    information on the build number and compiler used. It has a value of the form
-   ``'version (#build_number, build_date, build_time) [compiler]'``.  The first
-   three characters are used to identify the version in the installation
+   ``'version (#build_number, build_date, build_time) [compiler]'``.  There may be
+   a newline character preceding the opening bracket with of the compiler info.
+   The first three characters are used to identify the version in the installation
    directories (where appropriate on each platform).  An example::
 
       >>> import sys