summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-10-04 23:17:38 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-10-04 23:17:38 (GMT)
commitda27263b4a7aa6af7d2bf6967a15b0007aa1ae2b (patch)
tree8f50fb816577c4b3888b8ccec4b18e906e16cc92 /Doc/library
parent36225c6a9925b962e5035a1ceae4025fb5b80f08 (diff)
downloadcpython-da27263b4a7aa6af7d2bf6967a15b0007aa1ae2b.zip
cpython-da27263b4a7aa6af7d2bf6967a15b0007aa1ae2b.tar.gz
cpython-da27263b4a7aa6af7d2bf6967a15b0007aa1ae2b.tar.bz2
Move doc of sys.dont_write_bytecode to make all attributes sorted again
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/sys.rst18
1 files changed, 9 insertions, 9 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 7f3d827..105f716 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -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