]> granicus.if.org Git - python/commitdiff
Added py3kwarning to the documentation of the sys module.
authorChristian Heimes <christian@cheimes.de>
Wed, 28 Nov 2007 08:02:36 +0000 (08:02 +0000)
committerChristian Heimes <christian@cheimes.de>
Wed, 28 Nov 2007 08:02:36 +0000 (08:02 +0000)
Doc/library/sys.rst

index f9853e9e47030939fea9f7465423e2adeb45e024..f254003236924223e910e44a99ae16f30c8fa388 100644 (file)
@@ -457,6 +457,12 @@ always available.
    implement a dynamic prompt.
 
 
+.. data:: py3kwarning
+
+   Bool containing the status of the Python 3.0 warning flag. It's ``True``
+   when Python is started with the -3 option.
+
+
 .. function:: setcheckinterval(interval)
 
    Set the interpreter's "check interval".  This integer value determines how often