[Python-checkins] r72678 - python/trunk/Doc/library/os.rst
georg.brandl
python-checkins at python.org
Sat May 16 13:21:29 CEST 2009
Author: georg.brandl
Date: Sat May 16 13:21:29 2009
New Revision: 72678
Log:
#2856: document 2.x os.listdir() behavior for undecodable filenames.
Modified:
python/trunk/Doc/library/os.rst
Modified: python/trunk/Doc/library/os.rst
==============================================================================
--- python/trunk/Doc/library/os.rst (original)
+++ python/trunk/Doc/library/os.rst Sat May 16 13:21:29 2009
@@ -930,7 +930,8 @@
.. 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)
More information about the Python-checkins
mailing list