Mercurial > cpython-lru_cache-weakref
diff Misc/python.man @ 65273:1f225d66941a 3.1
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
........
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Wed, 13 Oct 2010 22:23:03 +0000 |
| parents | a4c9746cb03c |
| children | c57fdce01eb8 3c9232a684ae |
line wrap: on
line diff
--- a/Misc/python.man Wed Oct 13 22:20:48 2010 +0000 +++ b/Misc/python.man Wed Oct 13 22:23:03 2010 +0000 @@ -384,9 +384,18 @@ .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.
