diff --git a/Lib/os.py b/Lib/os.py index ab7ef3c1779..4626d1fc4a9 100644 --- a/Lib/os.py +++ b/Lib/os.py @@ -331,8 +331,8 @@ 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(sum(getsize(join(root, name)) for name in files), 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: dirs.remove('CVS') # don't visit CVS directories