diff options
author | Georg Brandl <georg@python.org> | 2008-06-11 17:57:44 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-11 17:57:44 (GMT) |
commit | d987545d3072620c636b3665d15904edac6a0a9f (patch) | |
tree | 0fba7adaeef5869d305f4f56ba1ab8e4b992f6e2 | |
parent | 9cf19340903bc53085af95eb66f3690e2dd407fb (diff) | |
download | cpython-d987545d3072620c636b3665d15904edac6a0a9f.zip cpython-d987545d3072620c636b3665d15904edac6a0a9f.tar.gz cpython-d987545d3072620c636b3665d15904edac6a0a9f.tar.bz2 |
Clarify what ":errorhandler" refers to.
-rw-r--r-- | Doc/using/cmdline.rst | 3 |
1 files changed, 2 insertions, 1 deletions
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 |