-
- trace = (
- traceback.TracebackException
- .from_exception(
- exc,
- limit=limit,
- lookup_lines=lookup_lines,
- capture_locals=capture_locals,
- # copy the set of _seen exceptions so that duplicates
- # shared between sub-exceptions are not omitted
- _seen=set(_seen),
- )
- .something()
- .something_else()
- .something_even_longer()
- .more_things()
- .additional_thingies()
- .here_is()
- .the_end()
- )
-
-
- trace = (
- traceback.TracebackException.from_exception(
- exc,
- limit=limit,
- lookup_lines=lookup_lines,
- capture_locals=capture_locals,
- # copy the set of _seen exceptions so that duplicates
- # shared between sub-exceptions are not omitted
- _seen=set(_seen),
- )
- .something()
- .something_else()
- .something_even_longer()
- .more_things()
- .additional_thingies()
- .here_is()
- .the_end()
- )
-