From: Éric Araujo Date: Wed, 18 Aug 2010 22:35:23 +0000 (+0000) Subject: Fix typo X-Git-Tag: v3.2a2~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=358b63a419149ba2c21e81e1f2ea38f452018c42;p=python Fix typo --- diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index c1130e4cd2..45c10408b0 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 81cfa83c74..7364e27ec7 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 ````, e.g. ``utf-8``.