[Python-checkins] r84701 - python/branches/py3k/Doc/library/os.path.rst

victor.stinner python-checkins at python.org
Sat Sep 11 02:22:12 CEST 2010


Author: victor.stinner
Date: Sat Sep 11 02:22:12 2010
New Revision: 84701

Log:
Issue #767645: fix os.path.supports_unicode_filenames definition

os.listdir(str) always returns unicode and it can return non-ascii filenames
even if supports_unicode_filenames is False.


Modified:
   python/branches/py3k/Doc/library/os.path.rst

Modified: python/branches/py3k/Doc/library/os.path.rst
==============================================================================
--- python/branches/py3k/Doc/library/os.path.rst	(original)
+++ python/branches/py3k/Doc/library/os.path.rst	Sat Sep 11 02:22:12 2010
@@ -320,5 +320,4 @@
 .. data:: supports_unicode_filenames
 
    True if arbitrary Unicode strings can be used as file names (within limitations
-   imposed by the file system), and if :func:`os.listdir` returns strings that
-   contain characters that cannot be represented by ASCII.
+   imposed by the file system).


More information about the Python-checkins mailing list