summaryrefslogtreecommitdiffstats
path: root/Misc/python.man
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-10-13 22:23:03 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-10-13 22:23:03 (GMT)
commit2693d087940f7a9d0820d11e1372b77b7133dfec (patch)
treef9f87cc5f09424b3d0ea6ec58f1a2ed1cfd9dcba /Misc/python.man
parent31370951c007379e9cc4654321f28cd9e1d0956f (diff)
downloadcpython-2693d087940f7a9d0820d11e1372b77b7133dfec.zip
cpython-2693d087940f7a9d0820d11e1372b77b7133dfec.tar.gz
cpython-2693d087940f7a9d0820d11e1372b77b7133dfec.tar.bz2
Merged revisions 85436 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85436 | benjamin.peterson | 2010-10-13 17:20:15 -0500 (Wed, 13 Oct 2010) | 1 line put PYTHONIOENCODING in man page ........
Diffstat (limited to 'Misc/python.man')
-rw-r--r--Misc/python.man13
1 files changed, 11 insertions, 2 deletions
diff --git a/Misc/python.man b/Misc/python.man
index b96c860..87f1c93 100644
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -384,9 +384,18 @@ files).
.IP PYTHONINSPECT
If this is set to a non-empty string it is equivalent to specifying
the \fB\-i\fP option.
+.IP PYTHONIOENCODING
+If this is set before running the interpreter, it overrides the encoding used
+for stdin/stdout/stderr, in the syntax
+.IB encodingname ":" errorhandler
+The
+.IB errorhandler
+part is optional and has the same meaning as in str.encode. For stderr, the
+.IB errorhandler
+ part is ignored; the handler will always be \'backslashreplace\'.
.IP PYTHONNOUSERSITE
-If this is set to a non-empty string it is equivalent to specifying
-the \fB\-s\fP option (Don't add the user site directory to sys.path).
+If this is set to a non-empty string it is equivalent to specifying the
+\fB\-s\fP option (Don't add the user site directory to sys.path).
.IP PYTHONUNBUFFERED
If this is set to a non-empty string it is equivalent to specifying
the \fB\-u\fP option.