Skip to content

Commit 108b40c

Browse files
committed
Replace path with os.getcwd()
1 parent 3da9a2a commit 108b40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3669,7 +3669,7 @@ features:
36693669

36703670
import os
36713671
from os.path import join, getsize
3672-
for root, dirs, files in os.walk('python/Lib/email'):
3672+
for root, dirs, files in os.walk(os.getcwd()):
36733673
print(root, "consumes", end=" ")
36743674
print(sum(getsize(join(root, name)) for name in files), end=" ")
36753675
print("bytes in", len(files), "non-directory files")

0 commit comments

Comments
 (0)