From d7b333779a86435fecf67ecb68b4bb572b70dd8a Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 28 Nov 2007 08:02:36 +0000 Subject: Added py3kwarning to the documentation of the sys module. --- Doc/library/sys.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index f9853e9..f254003 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 -- cgit v0.12