#2856: document 2.x os.listdir() behavior for undecodable filenames.

This commit is contained in:
Georg Brandl 2009-05-16 11:21:29 +00:00
parent 14315d6513
commit d933cc293b
1 changed files with 2 additions and 1 deletions

View File

@ -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)