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 0db9ce0 commit 2573a3aCopy full SHA for 2573a3a
Doc/library/pathlib.rst
@@ -1625,6 +1625,8 @@ example because the path doesn't exist).
1625
use :func:`Path.rmdir` instead.
1626
1627
This method propagates any :exc:`OSError` encountered during removal.
1628
+ For example: If *missing_ok* is false (the default), :exc:`FileNotFoundError` is
1629
+ raised if the path does not exist.
1630
1631
If *missing_ok* is true, :exc:`FileNotFoundError` exceptions will be
1632
ignored (same behavior as the POSIX ``rm -f`` command).
0 commit comments