diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-20 04:24:09 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-20 04:24:09 (GMT) |
commit | 0aa811c527372fbee0e20192bba3cf343a744e08 (patch) | |
tree | ab0d86073c96b664d6b9d87ea84cdb8cdb263755 /Doc/lib/libsys.tex | |
parent | 64a5aaf05ca20bdbd72c30fa0cfdda2ae9a347d9 (diff) | |
download | cpython-0aa811c527372fbee0e20192bba3cf343a744e08.zip cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.gz cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.bz2 |
Use the \note and \warning macros where appropriate.
Diffstat (limited to 'Doc/lib/libsys.tex')
-rw-r--r-- | Doc/lib/libsys.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex index 09891e0..4059e02 100644 --- a/Doc/lib/libsys.tex +++ b/Doc/lib/libsys.tex @@ -99,7 +99,7 @@ It is always available. encapsulates the call stack at the point where the exception originally occurred. \obindex{traceback} - \strong{Warning:} assigning the \var{traceback} return value to a + \warning{Assigning the \var{traceback} return value to a local variable in a function that is handling an exception will cause a circular reference. This will prevent anything referenced by a local variable in the same function or by the traceback from @@ -109,7 +109,7 @@ It is always available. 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 - a function that does not itself handle an exception. + a function that does not itself handle an exception.} \end{funcdesc} \begin{datadesc}{exc_type} @@ -169,9 +169,9 @@ It is always available. function will be called when the interpreter exits. Only one function may be installed in this way; to allow multiple functions which will be called at termination, use the \refmodule{atexit} - module. Note: the exit function is not called when the program is + module. \note{The exit function is not called when the program is killed by a signal, when a Python fatal internal error is detected, - or when \code{os._exit()} is called. + or when \code{os._exit()} is called.} \end{datadesc} \begin{funcdesc}{getdefaultencoding}{} |