mirror of https://github.com/python/cpython
bpo-37478: Specify possible exceptions for os.chdir() (GH-14611)
This commit is contained in:
parent
6f2a8c0857
commit
0717b4d9b3
|
@ -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.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Added possible exceptions to the description of os.chdir().
|
Loading…
Reference in New Issue