Clarify what ":errorhandler" refers to.

This commit is contained in:
Georg Brandl 2008-06-11 17:57:44 +00:00
parent 9cf1934090
commit d987545d30
1 changed files with 2 additions and 1 deletions

View File

@ -484,7 +484,8 @@ These environment variables influence Python's behavior.
.. envvar:: PYTHONIOENCODING
Overrides the encoding used for stdin/stdout/stderr, in the syntax
encodingname:errorhandler, with the :errors part being optional.
``encodingname:errorhandler``. The ``:errorhandler`` part is optional and
has the same meaning as in :func:`str.encode`.
.. versionadded:: 2.6