diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 05:49:33 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 05:49:33 (GMT) |
commit | ac3625fcb95c2c54e40e1a27f2395811adbed03e (patch) | |
tree | 7ef987a510e3ad2e43ee67ca6854cd6af23673f9 /Doc/api/exceptions.tex | |
parent | fc85c92a85e08d39ea769a07a3dc2a3c83c21477 (diff) | |
download | cpython-ac3625fcb95c2c54e40e1a27f2395811adbed03e.zip cpython-ac3625fcb95c2c54e40e1a27f2395811adbed03e.tar.gz cpython-ac3625fcb95c2c54e40e1a27f2395811adbed03e.tar.bz2 |
Remove sys.exc_type, sys.exc_value, sys.exc_traceback
Diffstat (limited to 'Doc/api/exceptions.tex')
-rw-r--r-- | Doc/api/exceptions.tex | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex index c4727f2..62f713b 100644 --- a/Doc/api/exceptions.tex +++ b/Doc/api/exceptions.tex @@ -23,12 +23,9 @@ carefully propagated, additional calls into the Python/C API may not behave as intended and may fail in mysterious ways. The error indicator consists of three Python objects corresponding to -\withsubitem{(in module sys)}{ - \ttindex{exc_type}\ttindex{exc_value}\ttindex{exc_traceback}} -the Python variables \code{sys.exc_type}, \code{sys.exc_value} and -\code{sys.exc_traceback}. API functions exist to interact with the -error indicator in various ways. There is a separate error indicator -for each thread. +the result of \code{sys.exc_info()}. API functions exist to interact +with the error indicator in various ways. There is a separate +error indicator for each thread. % XXX Order of these should be more thoughtful. % Either alphabetical or some kind of structure. |