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 108b40c commit 0409ac8Copy full SHA for 0409ac8
1 file changed
Doc/library/os.rst
@@ -3669,7 +3669,7 @@ features:
3669
3670
import os
3671
from os.path import join, getsize
3672
- for root, dirs, files in os.walk(os.getcwd()):
+ for root, dirs, files in os.walk("python/Lib"):
3673
print(root, "consumes", end=" ")
3674
print(sum(getsize(join(root, name)) for name in files), end=" ")
3675
print("bytes in", len(files), "non-directory files")
0 commit comments