Lines Matching refs:typ
223 def get_message_lines(typ, exc, tb):
225 if typ in (AttributeError, NameError):
229 sys.__excepthook__(typ, exc, tb)
232 return traceback.format_exception_only(typ, exc)
240 typ, val, tb = excinfo = sys.exc_info()
244 def print_exc(typ, exc, tb):
265 lines = get_message_lines(typ, exc, tb)
269 print_exc(typ, val, tb)
624 typ, val, tb = self.user_exc_info
632 sys.last_type = typ