From d987545d3072620c636b3665d15904edac6a0a9f Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 11 Jun 2008 17:57:44 +0000 Subject: Clarify what ":errorhandler" refers to. --- Doc/using/cmdline.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 7d9ecad..94fbed7 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -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 -- cgit v0.12