[docs] Looks like there should be walk() instead of listdir()

Victor Varvariuc victor.varvariuc at gmail.com
Tue May 3 06:39:12 CEST 2011


http://docs.python.org/library/os.html#os.walk

...
> By default errors from the listdir()<http://docs.python.org/library/os.html#os.listdir> call
> are ignored. If optional argument *onerror* is specified, it should be a
> function; it will be called with one argument, an OSError<http://docs.python.org/library/exceptions.html#exceptions.OSError>
>  instance.
> ...

<http://docs.python.org/library/os.html#os.walk>

Looks like there should be walk() instead of listdir()

-- 
Victor Varvariuc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20110503/6c80fcf1/attachment-0001.html>


More information about the docs mailing list