@@ -287,33 +287,6 @@ applications should use string objects to access all files.
287287 *unc * will always be the empty string. Availability: Windows.
288288
289289
290- <<<<<<< .working
291- =======
292- .. function :: walk(path, visit, arg)
293-
294- Calls the function *visit * with arguments ``(arg, dirname, names) `` for each
295- directory in the directory tree rooted at *path * (including *path * itself, if it
296- is a directory). The argument *dirname * specifies the visited directory, the
297- argument *names * lists the files in the directory (gotten from
298- ``os.listdir(dirname) ``). The *visit * function may modify *names * to influence
299- the set of directories visited below *dirname *, e.g. to avoid visiting certain
300- parts of the tree. (The object referred to by *names * must be modified in
301- place, using :keyword: `del ` or slice assignment.)
302-
303- .. note ::
304-
305- Symbolic links to directories are not treated as subdirectories, and that
306- :func: `walk ` therefore will not visit them. To visit linked directories you must
307- identify them with ``os.path.islink(file) `` and ``os.path.isdir(file) ``, and
308- invoke :func: `walk ` as necessary.
309-
310- .. note ::
311-
312- This function is deprecated and has been removed in 3.0 in favor of
313- :func: `os.walk `.
314-
315-
316- >>>>>>> .merge-right.r72009
317290.. data :: supports_unicode_filenames
318291
319292 True if arbitrary Unicode strings can be used as file names (within limitations
0 commit comments