]> granicus.if.org Git - python/commitdiff
Clarify what ":errorhandler" refers to.
authorGeorg Brandl <georg@python.org>
Wed, 11 Jun 2008 17:57:44 +0000 (17:57 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 11 Jun 2008 17:57:44 +0000 (17:57 +0000)
Doc/using/cmdline.rst

index 7d9ecadb551dcf6581c736c1fe2aa97016e91d31..94fbed72a6e777a3426b1ed5734027a09387e80d 100644 (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