Bugs item #1353793, was opened at 2005-11-11 10:28 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1353793&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Martin Geisler (mgeisler) Assigned to: Nobody/Anonymous (nobody) Summary: Error in documentation for os.walk Initial Comment: There's a mistake in the example given for os.walk on this page: http://docs.python.org/lib/os-file-dir.html The line with sum should read print sum([getsize(join(root, name)) for name in files]), with square brackets. Otherwise, thanks for the excellent documentation! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1353793&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com