From: Georg Brandl Date: Thu, 4 Dec 2008 18:21:46 +0000 (+0000) Subject: #4521: fix getcwdu() vs getcwdb(). X-Git-Tag: v3.1a1~769 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83ebf383d7719c89851e15da8735f45801cbb5d8;p=thirdparty%2FPython%2Fcpython.git #4521: fix getcwdu() vs getcwdb(). --- diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index 3b0964cef106..734d3e92ad6b 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