Add Py3k warnings to os.path.walk
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index fa6b0c0..58a5caf 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -303,10 +303,10 @@
identify them with ``os.path.islink(file)`` and ``os.path.isdir(file)``, and
invoke :func:`walk` as necessary.
- .. note::
+ .. warning::
- The newer :func:`os.walk` :term:`generator` supplies similar functionality
- and can be easier to use.
+ This function is deprecated and is removed in 3.0 in favor of
+ :func:`os.walk`.
.. data:: supports_unicode_filenames