summaryrefslogtreecommitdiffstats
path: root/Doc/using/cmdline.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-09-13 08:46:24 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-09-13 08:46:24 (GMT)
commitbf28d2dcadbc8fa331df37543b8b36a9cfc38f11 (patch)
treecb3d959e1cb2b610280b2d8fb23c2a7c538a9e51 /Doc/using/cmdline.rst
parent187b06300518d35d04454238c240fdfd28864141 (diff)
downloadcpython-bf28d2dcadbc8fa331df37543b8b36a9cfc38f11.zip
cpython-bf28d2dcadbc8fa331df37543b8b36a9cfc38f11.tar.gz
cpython-bf28d2dcadbc8fa331df37543b8b36a9cfc38f11.tar.bz2
Issue #18818: The "encodingname" part of PYTHONIOENCODING is now optional.
Diffstat (limited to 'Doc/using/cmdline.rst')
-rw-r--r--Doc/using/cmdline.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 908a17c..e8a329e 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -538,13 +538,16 @@ conflict.
.. envvar:: PYTHONIOENCODING
If this is set before running the interpreter, it 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`.
+ for stdin/stdout/stderr, in the syntax ``encodingname:errorhandler``. Both
+ the ``encodingname`` and the ``:errorhandler`` parts are optional and have
+ the same meaning as in :func:`str.encode`.
For stderr, the ``:errorhandler`` part is ignored; the handler will always be
``'backslashreplace'``.
+ .. versionchanged:: 3.4
+ The ``encodingname`` part is now optional.
+
.. envvar:: PYTHONNOUSERSITE