diff options
-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 |