def format_exception(e):
    from .utils.printing import fill
    return '\n'.join(fill(line) for line in traceback.format_exception_only(type(e), e))
Extend (a) and (b) so that they contain each others' elements.
dataset/ETHPy150Open dnanexus/dx-toolkit/src/python/dxpy/exceptions.py/format_exception--crossover with--dataset/ETHPy150Open smurfix/yapps/yapps/parsetree.py/Generator.equate