Commit d933cc29 authored by Georg Brandl's avatar Georg Brandl

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

parent 14315d65
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment