Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1566,6 +1566,9 @@ features:
This function can support :ref:`specifying a file descriptor <path_fd>`. The
descriptor must refer to an opened directory, not an open file.

This function can raise :exc:`OSError` subclasses such as
:exc:`FileNotFoundError`, :exc:`PermissionError`, and :exc:`NotADirectoryError`.

.. versionadded:: 3.3
Added support for specifying *path* as a file descriptor
on some platforms.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added possible exceptions to the description of os.chdir().