diff options
author | Georg Brandl <georg@python.org> | 2008-12-04 18:21:46 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-12-04 18:21:46 (GMT) |
commit | 83ebf383d7719c89851e15da8735f45801cbb5d8 (patch) | |
tree | bd64170aede96aac1f38dc96c6d6c8ad52136369 /Doc | |
parent | a2361d908ec19e6212d81f8e6ef01322d3086c90 (diff) | |
download | cpython-83ebf383d7719c89851e15da8735f45801cbb5d8.zip cpython-83ebf383d7719c89851e15da8735f45801cbb5d8.tar.gz cpython-83ebf383d7719c89851e15da8735f45801cbb5d8.tar.bz2 |
#4521: fix getcwdu() vs getcwdb().
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.0.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index 3b0964c..734d3e9 100644 --- a/Doc/whatsnew/3.0.rst +++ b/Doc/whatsnew/3.0.rst @@ -303,7 +303,7 @@ changed. as well as strings, and a few APIs have a way to ask for a :class:`bytes` return value. Thus, :func:`os.listdir` returns a list of :class:`bytes` instances if the argument is a :class:`bytes` - instance, and :func:`os.getcwdu` returns the current working + instance, and :func:`os.getcwdb` returns the current working directory as a :class:`bytes` instance. Note that when :func:`os.listdir` returns a list of strings, filenames that cannot be decoded properly are omitted rather than raising |