Commit c1c1304b authored by Victor Stinner's avatar Victor Stinner

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.
parent 31cef660
...@@ -320,5 +320,4 @@ applications should use string objects to access all files. ...@@ -320,5 +320,4 @@ applications should use string objects to access all files.
.. data:: supports_unicode_filenames .. data:: supports_unicode_filenames
True if arbitrary Unicode strings can be used as file names (within limitations 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 imposed by the file system).
contain characters that cannot be represented by ASCII.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment