Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7be870f commit b6daab2Copy full SHA for b6daab2
1 file changed
Doc/library/os.rst
@@ -2247,6 +2247,7 @@ features:
2247
2248
Remove (delete) the file *path*. If *path* is a directory, an
2249
:exc:`IsADirectoryError` is raised. Use :func:`rmdir` to remove directories.
2250
+ If the file does not exist, a :exc:`FileNotFoundError` is raised.
2251
2252
This function can support :ref:`paths relative to directory descriptors
2253
<dir_fd>`.
0 commit comments