summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-02-26 17:36:26 (GMT)
committerGeorg Brandl <georg@python.org>2009-02-26 17:36:26 (GMT)
commit13813f709218057d5525ac6f2b84f5f7bf761354 (patch)
tree951f91cc3cba100859a914c34a733dc51223fd95
parenta168698ab3108d3f8d35feed3d0c449ebeda5467 (diff)
downloadcpython-13813f709218057d5525ac6f2b84f5f7bf761354.zip
cpython-13813f709218057d5525ac6f2b84f5f7bf761354.tar.gz
cpython-13813f709218057d5525ac6f2b84f5f7bf761354.tar.bz2
Document that setting sys.py3kwarning wont do anything.
-rw-r--r--Doc/library/sys.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 8e6f399..9d33c60 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