diff options
author | Georg Brandl <georg@python.org> | 2009-05-16 11:21:29 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-16 11:21:29 (GMT) |
commit | d933cc293b03c3dda7d79694ebc029feed800e8c (patch) | |
tree | f0e1fb08a13c0b1c35a2cbe12180a493b7ba5b71 /Doc/library | |
parent | 14315d6513497a5f51c98a33e99fae036b84ef69 (diff) | |
download | cpython-d933cc293b03c3dda7d79694ebc029feed800e8c.zip cpython-d933cc293b03c3dda7d79694ebc029feed800e8c.tar.gz cpython-d933cc293b03c3dda7d79694ebc029feed800e8c.tar.bz2 |
#2856: document 2.x os.listdir() behavior for undecodable filenames.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/os.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 061f1ce..1109a1d 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -930,7 +930,8 @@ Files and Directories .. versionchanged:: 2.3 On Windows NT/2k/XP and Unix, if *path* is a Unicode object, the result will be - a list of Unicode objects. + a list of Unicode objects. Undecodable filenames will still be returned as + string objects. .. function:: lstat(path) |