diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-04-29 16:24:51 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-04-29 16:24:51 (GMT) |
commit | d5334e1fa3fbc17c01f580a6efc2817720c63476 (patch) | |
tree | e643360af98e8a89be50fc9289ec8c3e1cce6b3f /Doc | |
parent | d6eb70b7b4569cfd16f5deb42c748c439c63a008 (diff) | |
download | cpython-d5334e1fa3fbc17c01f580a6efc2817720c63476.zip cpython-d5334e1fa3fbc17c01f580a6efc2817720c63476.tar.gz cpython-d5334e1fa3fbc17c01f580a6efc2817720c63476.tar.bz2 |
Merged revisions 80620 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80620 | ezio.melotti | 2010-04-29 18:07:20 +0200 (Thu, 29 Apr 2010) | 1 line
Group the Windows entries in getfilesystemencoding doc, move the win 9x one at the bottom of the list and fix some markup.
........
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/sys.rst | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 6b9377d..cf15d8f 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -302,17 +302,19 @@ always available. file names, or ``None`` if the system default encoding is used. The result value depends on the operating system: - * On Windows 9x, the encoding is "mbcs". - - * On Mac OS X, the encoding is "utf-8". + * On Mac OS X, the encoding is ``'utf-8'``. * On Unix, the encoding is the user's preference according to the result of - nl_langinfo(CODESET), or :const:`None` if the ``nl_langinfo(CODESET)`` failed. + nl_langinfo(CODESET), or ``None`` if the ``nl_langinfo(CODESET)`` + failed. * On Windows NT+, file names are Unicode natively, so no conversion is - performed. :func:`getfilesystemencoding` still returns ``'mbcs'``, as this is - the encoding that applications should use when they explicitly want to convert - Unicode strings to byte strings that are equivalent when used as file names. + performed. :func:`getfilesystemencoding` still returns ``'mbcs'``, as + this is the encoding that applications should use when they explicitly + want to convert Unicode strings to byte strings that are equivalent when + used as file names. + + * On Windows 9x, the encoding is ``'mbcs'``. .. function:: getrefcount(object) |