diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-05-09 00:27:01 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-05-09 00:27:01 (GMT) |
commit | 0893a0a961c3393aea052b268b630a7e522ba3a9 (patch) | |
tree | 4b1535bcb1f2be754a8de5a711742c3574ab5438 /Doc | |
parent | 9ec4aa01f9e1b5f0d8ed94005ac5b14d6ff94ebc (diff) | |
download | cpython-0893a0a961c3393aea052b268b630a7e522ba3a9.zip cpython-0893a0a961c3393aea052b268b630a7e522ba3a9.tar.gz cpython-0893a0a961c3393aea052b268b630a7e522ba3a9.tar.bz2 |
Add Py3k warnings to os.path.walk
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/os.path.rst | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ write files see :func:`open`, and for accessing the filesystem see the 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 |