mirror of https://github.com/python/cpython
Fix missing spaces in os.walk example (GH-29918)
This commit is contained in:
parent
5f1c205dce
commit
2a38e1ab65
|
@ -331,7 +331,7 @@ def walk(top, topdown=True, onerror=None, followlinks=False):
|
|||
import os
|
||||
from os.path import join, getsize
|
||||
for root, dirs, files in os.walk('python/Lib/email'):
|
||||
print(root, "consumes", end="")
|
||||
print(root, "consumes ")
|
||||
print(sum(getsize(join(root, name)) for name in files), end=" ")
|
||||
print("bytes in", len(files), "non-directory files")
|
||||
if 'CVS' in dirs:
|
||||
|
|
Loading…
Reference in New Issue