#2630: Implement PEP 3138.
The repr() of a string now contains printable Unicode characters unescaped.
The new ascii() builtin can be used to get a repr() with only ASCII characters in it.
PEP and patch were written by Atsuo Ishimoto.
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 0a45aa5..39f0e08 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -425,6 +425,9 @@
``encodingname:errorhandler``. The ``:errorhandler`` part is optional and
has the same meaning as in :func:`str.encode`.
+ For stderr, the ``:errorhandler`` part is ignored; the handler will always be
+ ``'backslashreplace'``.
+
.. envvar:: PYTHONNOUSERSITE