[Python-checkins] r69994 - python/trunk/Doc/library/sys.rst

georg.brandl python-checkins at python.org
Thu Feb 26 18:36:27 CET 2009


Author: georg.brandl
Date: Thu Feb 26 18:36:26 2009
New Revision: 69994

Log:
Document that setting sys.py3kwarning wont do anything.

Modified:
   python/trunk/Doc/library/sys.rst

Modified: python/trunk/Doc/library/sys.rst
==============================================================================
--- python/trunk/Doc/library/sys.rst	(original)
+++ python/trunk/Doc/library/sys.rst	Thu Feb 26 18:36:26 2009
@@ -624,7 +624,9 @@
 .. 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
 


More information about the Python-checkins mailing list