Skip to content

Commit 22afe2b

Browse files
Docs: fix PYTHONDONTWRITEBYTECODE description
1 parent 786f464 commit 22afe2b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Doc/using/cmdline.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -880,9 +880,10 @@ conflict.
880880

881881
.. envvar:: PYTHONDONTWRITEBYTECODE
882882

883-
If this is set to a non-empty string, Python won't try to write ``.pyc``
884-
files on the import of source modules. This is equivalent to
885-
specifying the :option:`-B` option.
883+
If this is set to a non-zero integer value, Python won't try to write
884+
``.pyc`` files on the import of source modules. Setting it to ``0`` does
885+
not disable bytecode writing. This is equivalent to specifying the
886+
:option:`-B` option.
886887

887888

888889
.. envvar:: PYTHONPYCACHEPREFIX

0 commit comments

Comments
 (0)