mirror of https://github.com/python/cpython
#2856: document 2.x os.listdir() behavior for undecodable filenames.
This commit is contained in:
parent
14315d6513
commit
d933cc293b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue