Skip to content

Commit 282e490

Browse files
committed
Document PYTHONWARNDEFAULTENCODING in the manpage
1 parent 24e2f70 commit 282e490

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Misc/python.man

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,9 @@ expensive to be enabled by default.
585585
This is equivalent to the \fB\-X dev\fR option.
586586
.IP PYTHONUTF8
587587
If set to 1, enable the Python "UTF-8 Mode". Setting to 0 disables.
588+
.IP PYTHONWARNDEFAULTENCODING
589+
If this environment variable is set to a non-empty string, issue a
590+
\fIEncodingWarning\fR when the locale-specific default encoding is used.
588591
.IP PYTHONASYNCIODEBUG
589592
If this environment variable is set to a non-empty string, enable the debug
590593
mode of the asyncio module.

0 commit comments

Comments
 (0)