Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2693d08

Browse files
committed
Merged revisions 85436 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ........ r85436 | benjamin.peterson | 2010-10-13 17:20:15 -0500 (Wed, 13 Oct 2010) | 1 line put PYTHONIOENCODING in man page ........
1 parent 3137095 commit 2693d08

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

Misc/python.man

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,18 @@ files).
384384
.IP PYTHONINSPECT
385385
If this is set to a non-empty string it is equivalent to specifying
386386
the \fB\-i\fP option.
387+
.IP PYTHONIOENCODING
388+
If this is set before running the interpreter, it overrides the encoding used
389+
for stdin/stdout/stderr, in the syntax
390+
.IB encodingname ":" errorhandler
391+
The
392+
.IB errorhandler
393+
part is optional and has the same meaning as in str.encode. For stderr, the
394+
.IB errorhandler
395+
part is ignored; the handler will always be \'backslashreplace\'.
387396
.IP PYTHONNOUSERSITE
388-
If this is set to a non-empty string it is equivalent to specifying
389-
the \fB\-s\fP option (Don't add the user site directory to sys.path).
397+
If this is set to a non-empty string it is equivalent to specifying the
398+
\fB\-s\fP option (Don't add the user site directory to sys.path).
390399
.IP PYTHONUNBUFFERED
391400
If this is set to a non-empty string it is equivalent to specifying
392401
the \fB\-u\fP option.

0 commit comments

Comments
 (0)