Lines Matching refs:chain
112 file=None, chain=True):
125 te.print(file=file, chain=chain)
129 chain=True):
140 return list(te.format(chain=chain))
181 def print_exc(limit=None, file=None, chain=True):
183 print_exception(*sys.exc_info(), limit=limit, file=file, chain=chain)
185 def format_exc(limit=None, chain=True):
187 return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
189 def print_last(limit=None, file=None, chain=True):
195 limit, file, chain)
876 def format(self, *, chain=True, _ctx=None):
879 If chain is not *True*, *__cause__* and *__context__* will not be formatted.
894 if chain:
959 yield from exc.exceptions[i].format(chain=chain, _ctx=_ctx)
977 def print(self, *, file=None, chain=True):
978 """Print the result of self.format(chain=chain) to 'file'."""
981 for line in self.format(chain=chain):