Kaydet (Commit) 656b04ec authored tarafından Éric Araujo's avatar Éric Araujo

Move doc of sys.dont_write_bytecode to make all attributes sorted again

üst 5a753557
...@@ -95,6 +95,17 @@ always available. ...@@ -95,6 +95,17 @@ always available.
customized by assigning another one-argument function to ``sys.displayhook``. 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) .. function:: excepthook(type, value, traceback)
This function prints out a given traceback and exception to ``sys.stderr``. This function prints out a given traceback and exception to ``sys.stderr``.
...@@ -786,17 +797,6 @@ always available. ...@@ -786,17 +797,6 @@ always available.
.. versionadded:: 2.6 .. 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) .. function:: setcheckinterval(interval)
Set the interpreter's "check interval". This integer value determines how often Set the interpreter's "check interval". This integer value determines how often
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment