summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2004-07-14 00:48:58 (GMT)
committerGuido van Rossum <guido@python.org>2004-07-14 00:48:58 (GMT)
commit8cec3ab0e44a65d9bb0b70f6963defd21dbeccbf (patch)
tree30da3d0be90b16171fa6ed71a27f9951b90398ac /Doc
parent4a2ccdf781b1648f34f303ee3d411d63c306e17e (diff)
downloadcpython-8cec3ab0e44a65d9bb0b70f6963defd21dbeccbf.zip
cpython-8cec3ab0e44a65d9bb0b70f6963defd21dbeccbf.tar.gz
cpython-8cec3ab0e44a65d9bb0b70f6963defd21dbeccbf.tar.bz2
- Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affects
the documented behavior: the function passed to the onerror() handler can now also be os.listdir. [I could've sworn I checked this in, but apparently I didn't, or it got lost???]
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libshutil.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libshutil.tex b/Doc/lib/libshutil.tex
index a84fca9..5dd1b6c 100644
--- a/Doc/lib/libshutil.tex
+++ b/Doc/lib/libshutil.tex
@@ -90,7 +90,7 @@ rather than printing a message]{2.3}
If \var{onerror} is provided, it must be a callable that accepts
three parameters: \var{function}, \var{path}, and \var{excinfo}.
The first parameter, \var{function}, is the function which raised
- the exception; it will be \function{os.remove()} or
+ the exception; it will be \function{os.listdir()}, \function{os.remove()} or
\function{os.rmdir()}. The second parameter, \var{path}, will be
the path name passed to \var{function}. The third parameter,
\var{excinfo}, will be the exception information return by