Shorthand for 'print_exception(*sys.exc_info(), limit, file)'.
(limit=None, file=None, chain=True)
| 176 | # -- |
| 177 | |
| 178 | def print_exc(limit=None, file=None, chain=True): |
| 179 | """Shorthand for 'print_exception(*sys.exc_info(), limit, file)'.""" |
| 180 | print_exception(*sys.exc_info(), limit=limit, file=file, chain=chain) |
| 181 | |
| 182 | def format_exc(limit=None, chain=True): |
| 183 | """Like print_exc() but return a string.""" |
nothing calls this directly
no test coverage detected