diff options
-rw-r--r-- | Doc/using/cmdline.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 5100c21..0a45aa5 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -419,6 +419,13 @@ These environment variables influence Python's behavior. import of source modules. +.. envvar:: PYTHONIOENCODING + + Overrides the encoding used for stdin/stdout/stderr, in the syntax + ``encodingname:errorhandler``. The ``:errorhandler`` part is optional and + has the same meaning as in :func:`str.encode`. + + .. envvar:: PYTHONNOUSERSITE If this is set, Python won't add the user site directory to sys.path @@ -460,13 +467,6 @@ if Python was configured with the :option:`--with-pydebug` build option. If set, Python will dump objects and reference counts still alive after shutting down the interpreter. -.. envvar:: PYTHONIOENCODING - - Overrides the encoding used for stdin/stdout/stderr, in the syntax - encodingname:errorhandler, with the :errors part being optional. - - .. versionadded:: 2.6 - .. envvar:: PYTHONMALLOCSTATS |