This commit is contained in:
Éric Araujo 2010-08-18 22:35:23 +00:00
parent 4ea04a306f
commit 358b63a419
2 changed files with 3 additions and 3 deletions

View File

@ -444,7 +444,7 @@ These environment variables influence Python's behavior.
.. envvar:: PYTHONFSENCODING .. 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`). for the filesystem encoding (see :func:`sys.getfilesystemencoding`).
.. versionadded:: 3.2 .. versionadded:: 3.2
@ -452,7 +452,7 @@ These environment variables influence Python's behavior.
.. envvar:: PYTHONIOENCODING .. 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 for stdin/stdout/stderr, in the syntax ``encodingname:errorhandler``. The
``:errorhandler`` part is optional and has the same meaning as in ``:errorhandler`` part is optional and has the same meaning as in
:func:`str.encode`. :func:`str.encode`.

View File

@ -241,7 +241,7 @@ Unicode
======= =======
The filesystem encoding can be specified by setting the 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``. The value should be a string in the form ``<encoding>``, e.g. ``utf-8``.