diff options
-rw-r--r-- | Doc/using/cmdline.rst | 4 | ||||
-rw-r--r-- | Doc/whatsnew/3.2.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index c1130e4..45c1040 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -444,7 +444,7 @@ These environment variables influence Python's behavior. .. envvar:: PYTHONFSENCODING - If this is set before running the intepreter, it overrides the encoding used + If this is set before running the interpreter, it overrides the encoding used for the filesystem encoding (see :func:`sys.getfilesystemencoding`). .. versionadded:: 3.2 @@ -452,7 +452,7 @@ These environment variables influence Python's behavior. .. envvar:: PYTHONIOENCODING - If this is set before running the intepreter, it overrides the encoding used + If this is set before running the interpreter, it overrides the encoding used for stdin/stdout/stderr, in the syntax ``encodingname:errorhandler``. The ``:errorhandler`` part is optional and has the same meaning as in :func:`str.encode`. diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 81cfa83..7364e27 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -241,7 +241,7 @@ Unicode ======= The filesystem encoding can be specified by setting the -:envvar:`PYTHONFSENCODING` environment variable before running the intepreter. +:envvar:`PYTHONFSENCODING` environment variable before running the interpreter. The value should be a string in the form ``<encoding>``, e.g. ``utf-8``. |