Commit 0717b4d9 authored by Kyle Stanley's avatar Kyle Stanley Committed by Terry Jan Reedy

bpo-37478: Specify possible exceptions for os.chdir() (GH-14611)

parent 6f2a8c08
......@@ -1599,6 +1599,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.
......
Added possible exceptions to the description of os.chdir().
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment