From: Georg Brandl Date: Thu, 26 Feb 2009 17:36:26 +0000 (+0000) Subject: Document that setting sys.py3kwarning wont do anything. X-Git-Tag: v2.7a1~1942 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13813f709218057d5525ac6f2b84f5f7bf761354;p=thirdparty%2FPython%2Fcpython.git Document that setting sys.py3kwarning wont do anything. --- diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 8e6f3991e0f6..9d33c6020269 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -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