(limit=None, chain=True)
return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
Like print_exc() but return a string.
Like print_exc() but return a string.
Like print_exc () but return a string .
def format_exc(limit=None, chain=True):
    """Like print_exc() but return a string."""
    return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
def format_exc ( limit = None , chain = True ) : return "" . join ( format_exception ( * sys . exc_info ( ) , limit = limit , chain = chain ) )