[Python-checkins] python/dist/src/Doc/lib libshutil.tex, 1.13,
1.13.12.1
gvanrossum at users.sourceforge.net
gvanrossum at users.sourceforge.net
Wed Jul 14 02:49:23 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv796
Modified Files:
Tag: release23-maint
libshutil.tex
Log Message:
Backport:
- 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.13
retrieving revision 1.13.12.1
diff -C2 -d -r1.13 -r1.13.12.1
*** libshutil.tex 23 Feb 2003 21:36:47 -0000 1.13
--- libshutil.tex 14 Jul 2004 00:49:20 -0000 1.13.12.1
***************
*** 89,93 ****
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,
--- 89,93 ----
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