diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-09-11 00:22:12 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-09-11 00:22:12 (GMT) |
commit | b55e498f56317d728fcbd004f8bd262db552eb7c (patch) | |
tree | d1b1786540d3ed7f1c4306419ed3b46246a504bf /Doc | |
parent | 22b46e0ba90636d237736ca0ffdeba704e00a570 (diff) | |
download | cpython-b55e498f56317d728fcbd004f8bd262db552eb7c.zip cpython-b55e498f56317d728fcbd004f8bd262db552eb7c.tar.gz cpython-b55e498f56317d728fcbd004f8bd262db552eb7c.tar.bz2 |
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.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/os.path.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst index 7aac5c4..92f48cf 100644 --- a/Doc/library/os.path.rst +++ b/Doc/library/os.path.rst @@ -320,5 +320,4 @@ applications should use string objects to access all files. .. 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). |