[Python-checkins] cpython (2.7): State explicitely that PYTHONDONTWRITEBYTECODE is equivalent to -B

eric.araujo python-checkins at python.org
Sun Feb 26 03:49:20 CET 2012


http://hg.python.org/cpython/rev/26ca56b10c2b
changeset:   75275:26ca56b10c2b
branch:      2.7
user:        Éric Araujo <merwok at netwok.org>
date:        Sun Feb 26 01:38:26 2012 +0100
summary:
  State explicitely that PYTHONDONTWRITEBYTECODE is equivalent to -B

files:
  Doc/using/cmdline.rst |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -541,7 +541,8 @@
 .. envvar:: PYTHONDONTWRITEBYTECODE
 
    If this is set, Python won't try to write ``.pyc`` or ``.pyo`` files on the
-   import of source modules.
+   import of source modules.  This is equivalent to specifying the :option:`-B`
+   option.
 
    .. versionadded:: 2.6
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list