mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
#2856: document 2.x os.listdir() behavior for undecodable filenames.
This commit is contained in:
parent
14315d6513
commit
d933cc293b
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue