[Python-checkins] python/dist/src/Doc/lib libshutil.tex,1.14,1.15
gvanrossum at users.sourceforge.net
gvanrossum at users.sourceforge.net
Wed Jul 14 02:49:00 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv725
Modified Files:
libshutil.tex
Log Message:
- 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???]
Index: libshutil.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libshutil.tex,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** libshutil.tex 5 May 2004 17:21:51 -0000 1.14
--- libshutil.tex 14 Jul 2004 00:48:58 -0000 1.15
***************
*** 91,95 ****
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
\function{os.rmdir()}. The second parameter, \var{path}, will be
the path name passed to \var{function}. The third parameter,
--- 91,95 ----
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.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,
More information about the Python-checkins
mailing list