[Python-checkins] CVS: python/dist/src/Doc/lib libsys.tex,1.56,1.57

Fred L. Drake fdrake@users.sourceforge.net
Fri, 04 Jan 2002 20:00:05 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv28849/lib

Modified Files:
	libsys.tex 
Log Message:
Do not mask the name of a built-in function in example code.
Based on comment sent to python-docs.


Index: libsys.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsys.tex,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** libsys.tex	2001/11/28 07:26:15	1.56
--- libsys.tex	2002/01/05 04:00:03	1.57
***************
*** 106,110 ****
    being garbage collected.  Since most functions don't need access to
    the traceback, the best solution is to use something like
!   \code{type, value = sys.exc_info()[:2]} to extract only the
    exception type and value.  If you do need the traceback, make sure
    to delete it after use (best done with a \keyword{try}
--- 106,110 ----
    being garbage collected.  Since most functions don't need access to
    the traceback, the best solution is to use something like
!   \code{exctype, value = sys.exc_info()[:2]} to extract only the
    exception type and value.  If you do need the traceback, make sure
    to delete it after use (best done with a \keyword{try}