diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-28 08:02:36 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-28 08:02:36 (GMT) |
commit | d7b333779a86435fecf67ecb68b4bb572b70dd8a (patch) | |
tree | 05cedec9675fc864466036f18e388a6115a67526 /Doc/library/sys.rst | |
parent | 636afc52c068ed88c08d1d0a09e459e8f3d200bc (diff) | |
download | cpython-d7b333779a86435fecf67ecb68b4bb572b70dd8a.zip cpython-d7b333779a86435fecf67ecb68b4bb572b70dd8a.tar.gz cpython-d7b333779a86435fecf67ecb68b4bb572b70dd8a.tar.bz2 |
Added py3kwarning to the documentation of the sys module.
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 6 |
1 files changed, 6 insertions, 0 deletions
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 |