[Python-checkins] r64130 - python/trunk/Doc/using/cmdline.rst

georg.brandl python-checkins at python.org
Wed Jun 11 19:57:45 CEST 2008


Author: georg.brandl
Date: Wed Jun 11 19:57:44 2008
New Revision: 64130

Log:
Clarify what ":errorhandler" refers to.


Modified:
   python/trunk/Doc/using/cmdline.rst

Modified: python/trunk/Doc/using/cmdline.rst
==============================================================================
--- python/trunk/Doc/using/cmdline.rst	(original)
+++ python/trunk/Doc/using/cmdline.rst	Wed Jun 11 19:57:44 2008
@@ -484,7 +484,8 @@
 .. 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
 


More information about the Python-checkins mailing list