diff options
author | Éric Araujo <merwok@netwok.org> | 2011-10-05 02:25:58 +0200 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-10-05 02:25:58 +0200 |
commit | 656b04ecf6b6c7eaac194b2bc8ca3c797f1f5df4 (patch) | |
tree | 7207fa9ff61428aaadeb06ea0fd89dd407ccab1e | |
parent | 5a75355792a8667969b5d677f5e4208da8ad2dc4 (diff) | |
download | cpython-git-656b04ecf6b6c7eaac194b2bc8ca3c797f1f5df4.tar.gz |
Move doc of sys.dont_write_bytecode to make all attributes sorted again
-rw-r--r-- | Doc/library/sys.rst | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 4afef5a30b..30e784e7e9 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -95,6 +95,17 @@ always available. customized by assigning another one-argument function to ``sys.displayhook``. +.. data:: dont_write_bytecode + + If this is true, Python won't try to write ``.pyc`` or ``.pyo`` files on the + import of source modules. This value is initially set to ``True`` or + ``False`` depending on the :option:`-B` command line option and the + :envvar:`PYTHONDONTWRITEBYTECODE` environment variable, but you can set it + yourself to control bytecode file generation. + + .. versionadded:: 2.6 + + .. function:: excepthook(type, value, traceback) This function prints out a given traceback and exception to ``sys.stderr``. @@ -786,17 +797,6 @@ always available. .. versionadded:: 2.6 -.. data:: dont_write_bytecode - - If this is true, Python won't try to write ``.pyc`` or ``.pyo`` files on the - import of source modules. This value is initially set to ``True`` or ``False`` - depending on the ``-B`` command line option and the ``PYTHONDONTWRITEBYTECODE`` - environment variable, but you can set it yourself to control bytecode file - generation. - - .. versionadded:: 2.6 - - .. function:: setcheckinterval(interval) Set the interpreter's "check interval". This integer value determines how often |