From 69ff788542303378f692245221a2aa0ac26bf93c Mon Sep 17 00:00:00 2001 From: William Andrea <22385371+wjandrea@users.noreply.github.com> Date: Wed, 3 Sep 2025 14:34:11 -0300 Subject: [PATCH] DOC: Typo in os.rst Comma should be a colon, as written at the same spot under `fwalk`. --- Doc/library/os.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 45ec6c7a51b7b0..fd161781949e83 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -3703,7 +3703,7 @@ features: dirs.remove('__pycache__') # don't visit __pycache__ directories In the next example (simple implementation of :func:`shutil.rmtree`), - walking the tree bottom-up is essential, :func:`rmdir` doesn't allow + walking the tree bottom-up is essential: :func:`rmdir` doesn't allow deleting a directory before the directory is empty:: # Delete everything reachable from the directory named in "top",