summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/os.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 081d7a6..f9cded4 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -3675,6 +3675,7 @@ features:
os.remove(os.path.join(root, name))
for name in dirs:
os.rmdir(os.path.join(root, name))
+ os.rmdir(top)
.. audit-event:: os.walk top,topdown,onerror,followlinks os.walk