summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-06-02 11:13:03 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-06-02 11:13:03 (GMT)
commit0f5998911c0a39400a42bad781e84eba822fed38 (patch)
tree0734e865de7015c126a4cfce5c0507f863a89a71 /Doc/using
parente95593e9b1498843b403d20f956a0eac9d3b4cc0 (diff)
downloadcpython-0f5998911c0a39400a42bad781e84eba822fed38.zip
cpython-0f5998911c0a39400a42bad781e84eba822fed38.tar.gz
cpython-0f5998911c0a39400a42bad781e84eba822fed38.tar.bz2
Forward-port PYTHONIOENCODING.
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/cmdline.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index ae661ce..a6a6ecf 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -467,6 +467,13 @@ 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