From: Christian Heimes Date: Wed, 28 Nov 2007 08:02:36 +0000 (+0000) Subject: Added py3kwarning to the documentation of the sys module. X-Git-Tag: v2.6a1~989 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7b333779a86435fecf67ecb68b4bb572b70dd8a;p=thirdparty%2FPython%2Fcpython.git Added py3kwarning to the documentation of the sys module. --- diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index f9853e9e4703..f25400323692 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -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