diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 760c05c6e52..519d5581603 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1599,7 +1599,7 @@ features: This function can support :ref:`specifying a file descriptor `. The descriptor must refer to an opened directory, not an open file. - This function can raise :exc:`OSError` subclasses such as + This function can raise :exc:`OSError` and subclasses such as :exc:`FileNotFoundError`, :exc:`PermissionError`, and :exc:`NotADirectoryError`. .. versionadded:: 3.3