diff Doc/lib/libsys.tex @ 21641:b72da0780e7a legacy-trunk

Do not mask the name of a built-in function in example code. Based on comment sent to python-docs.
author Fred Drake <fdrake@acm.org>
date Sat, 05 Jan 2002 04:00:03 +0000
parents bc02c3b09626
children 4c7bb0b4d354
line wrap: on
line diff
--- a/Doc/lib/libsys.tex	Sat Jan 05 03:56:54 2002 +0000
+++ b/Doc/lib/libsys.tex	Sat Jan 05 04:00:03 2002 +0000
@@ -105,7 +105,7 @@
   by a local variable in the same function or by the traceback from
   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
+  \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}
   ... \keyword{finally} statement) or to call \function{exc_info()} in