8000 [3.8] bpo-37478: Specify possible exceptions for os.chdir() (GH-14611) by miss-islington · Pull Request #14629 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.8] bpo-37478: Specify possible exceptions for os.chdir() (GH-14611) #14629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2019
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 @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added possible exceptions to the description of os.chdir().
0