summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-04-27 16:34:37 (GMT)
committerGeorg Brandl <georg@python.org>2009-04-27 16:34:37 (GMT)
commit747f0518e8337112792d5a8db20dd373fa1aa4d1 (patch)
tree9ef0de4661df0cef4ca5a26d7079cdcb1e812698 /Doc
parent4ca444241de87d4818e2eef9426e48479dc73aca (diff)
downloadcpython-747f0518e8337112792d5a8db20dd373fa1aa4d1.zip
cpython-747f0518e8337112792d5a8db20dd373fa1aa4d1.tar.gz
cpython-747f0518e8337112792d5a8db20dd373fa1aa4d1.tar.bz2
Remove merging accident.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.path.rst27
1 files changed, 0 insertions, 27 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 99d106b..c85412e 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -287,33 +287,6 @@ applications should use string objects to access all files.
*unc* will always be the empty string. Availability: Windows.
-<<<<<<< .working
-=======
-.. function:: walk(path, visit, arg)
-
- Calls the function *visit* with arguments ``(arg, dirname, names)`` for each
- directory in the directory tree rooted at *path* (including *path* itself, if it
- is a directory). The argument *dirname* specifies the visited directory, the
- argument *names* lists the files in the directory (gotten from
- ``os.listdir(dirname)``). The *visit* function may modify *names* to influence
- the set of directories visited below *dirname*, e.g. to avoid visiting certain
- parts of the tree. (The object referred to by *names* must be modified in
- place, using :keyword:`del` or slice assignment.)
-
- .. note::
-
- Symbolic links to directories are not treated as subdirectories, and that
- :func:`walk` therefore will not visit them. To visit linked directories you must
- identify them with ``os.path.islink(file)`` and ``os.path.isdir(file)``, and
- invoke :func:`walk` as necessary.
-
- .. note::
-
- This function is deprecated and has been removed in 3.0 in favor of
- :func:`os.walk`.
-
-
->>>>>>> .merge-right.r72009
.. data:: supports_unicode_filenames
True if arbitrary Unicode strings can be used as file names (within limitations