@@ -121,6 +121,15 @@ always available.
121121 Use ``'backslashreplace' `` error handler on :exc: `UnicodeEncodeError `.
122122
123123
124+ .. data :: dont_write_bytecode
125+
126+ If this is true, Python won't try to write ``.pyc `` or ``.pyo `` files on the
127+ import of source modules. This value is initially set to ``True `` or
128+ ``False `` depending on the :option: `-B ` command line option and the
129+ :envvar: `PYTHONDONTWRITEBYTECODE ` environment variable, but you can set it
130+ yourself to control bytecode file generation.
131+
132+
124133.. function :: excepthook(type, value, traceback)
125134
126135 This function prints out a given traceback and exception to ``sys.stderr ``.
@@ -185,10 +194,10 @@ always available.
185194 Python files are installed; by default, this is also ``'/usr/local' ``. This can
186195 be set at build time with the ``--exec-prefix `` argument to the
187196 :program: `configure ` script. Specifically, all configuration files (e.g. the
188- :file: `pyconfig.h ` header file) are installed in the directory `` exec_prefix +
189- ' /lib/pythonversion /config' `` , and shared library modules are installed in
190- `` exec_prefix + ' /lib/pythonversion /lib-dynload' `` , where *version * is equal to
191- `` version[:3] ``.
197+ :file: `pyconfig.h ` header file) are installed in the directory
198+ :file: ` { exec_prefix } /lib/python { X.Y } /config', and shared library modules are
199+ installed in :file:` { exec_prefix } /lib/python { X.Y } /lib-dynload ` , where *X.Y *
200+ is the version number of Python, for example `` 3.2 ``.
192201
193202
194203.. data :: executable
@@ -743,10 +752,10 @@ always available.
743752 independent Python files are installed; by default, this is the string
744753 ``'/usr/local' ``. This can be set at build time with the ``--prefix ``
745754 argument to the :program: `configure ` script. The main collection of Python
746- library modules is installed in the directory `` prefix + ' /lib/pythonversion' ``
755+ library modules is installed in the directory :file: ` { prefix } /lib/python { X.Y } ` `
747756 while the platform independent header files (all except :file: `pyconfig.h `) are
748- stored in `` prefix + ' /include/pythonversion' ``, where *version * is equal to
749- `` version[:3] ``.
757+ stored in :file: ` { prefix } /include/python { X.Y } ` `, where *X.Y * is the version
758+ number of Python, for example `` 3.2 ``.
750759
751760
752761.. data :: ps1
@@ -764,15 +773,6 @@ always available.
764773 implement a dynamic prompt.
765774
766775
767- .. data :: dont_write_bytecode
768-
769- If this is true, Python won't try to write ``.pyc `` or ``.pyo `` files on the
770- import of source modules. This value is initially set to ``True `` or ``False ``
771- depending on the ``-B `` command line option and the ``PYTHONDONTWRITEBYTECODE ``
772- environment variable, but you can set it yourself to control bytecode file
773- generation.
774-
775-
776776.. function :: setcheckinterval(interval)
777777
778778 Set the interpreter's "check interval". This integer value determines how often
0 commit comments