]> granicus.if.org Git - python/commitdiff
Merged revisions 80624 via svnmerge from
authorEzio Melotti <ezio.melotti@gmail.com>
Thu, 29 Apr 2010 16:25:49 +0000 (16:25 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Thu, 29 Apr 2010 16:25:49 +0000 (16:25 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80624 | ezio.melotti | 2010-04-29 18:24:51 +0200 (Thu, 29 Apr 2010) | 9 lines

  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.
  ........
................

Doc/library/sys.rst

index be26b63b3836684eb2321f9cc272f788859f0b0e..c48ff1bde179cfe76badf366e45b84cc0929b2a3 100644 (file)
@@ -300,17 +300,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)