mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
Move doc of sys.dont_write_bytecode to make all attributes sorted again
This commit is contained in:
parent
36225c6a99
commit
da27263b4a
1 changed files with 9 additions and 9 deletions
|
|
@ -121,6 +121,15 @@ always available.
|
|||
Use ``'backslashreplace'`` error handler on :exc:`UnicodeEncodeError`.
|
||||
|
||||
|
||||
.. 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.
|
||||
|
||||
|
||||
.. function:: excepthook(type, value, traceback)
|
||||
|
||||
This function prints out a given traceback and exception to ``sys.stderr``.
|
||||
|
|
@ -764,15 +773,6 @@ always available.
|
|||
implement a dynamic prompt.
|
||||
|
||||
|
||||
.. 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.
|
||||
|
||||
|
||||
.. function:: setcheckinterval(interval)
|
||||
|
||||
Set the interpreter's "check interval". This integer value determines how often
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue