[Python-bugs-list] [ python-Bugs-469732 ] os.path.walk docstring inconsistent (original) (raw)

noreply@sourceforge.net noreply@sourceforge.net
Tue, 09 Oct 2001 18:36:37 -0700


Bugs item #469732, was opened at 2001-10-09 18:36 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=469732&group_id=5470

Category: Documentation Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Hammond (mhammond) Assigned to: Tim Peters (tim_one) Summary: os.path.walk docstring inconsistent

Initial Comment: On Windows, the docstring for os.path.walk says (in ntpath.py

"""Directory tree walk whth callback function.

walk(top, func, arg) calls func(arg, d, files) for 

each directory d in the tree rooted at top (including top itself); files is a list of all the files and subdirs in directory d."""

(*** Note the "whth" in the first line ***)

Comparing with posixpath.py, the entire first line of the docstring is missing.

I would have simply corrected the spelling of "whth", but when I noticed that the 2 platforms' strings were different I decided to open this bug and allow Tim to make a quick decision about which string is the correct one.

Feel free to punt back, but I am guessing it quicker for you to make the decision and check it in.


You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=469732&group_id=5470