Skip to content

Commit 9a32b48

Browse files
Docs: clarify PYTHONDONTWRITEBYTECODE behavior
1 parent c3fdc06 commit 9a32b48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/using/cmdline.rst

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

881881
.. envvar:: PYTHONDONTWRITEBYTECODE
882882

883-
If this is set to a value other than ``"0"``, Python won't try to write
884-
``.pyc`` files on the import of source modules. Setting it to ``"0"``
885-
does not disable bytecode writing. This is equivalent to specifying the
883+
If this is set to a non-empty string other than ``0``, 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
886886
:option:`-B` option.
887887

888888

0 commit comments

Comments
 (0)