]> granicus.if.org Git - python/commitdiff
Document that setting sys.py3kwarning wont do anything.
authorGeorg Brandl <georg@python.org>
Thu, 26 Feb 2009 17:36:26 +0000 (17:36 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 26 Feb 2009 17:36:26 +0000 (17:36 +0000)
Doc/library/sys.rst

index 8e6f3991e0f62b418e462c848e9c26b1463444cf..9d33c6020269004aa1409b34e22e979ea14895a0 100644 (file)
@@ -624,7 +624,9 @@ always available.
 .. data:: py3kwarning
 
    Bool containing the status of the Python 3.0 warning flag. It's ``True``
-   when Python is started with the -3 option.
+   when Python is started with the -3 option.  (This should be considered
+   read-only; setting it to a different value doesn't have an effect on
+   Python 3.0 warnings.)
 
    .. versionadded:: 2.6