mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
#4521: fix getcwdu() vs getcwdb().
This commit is contained in:
parent
a2361d908e
commit
83ebf383d7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue