return last non-hidden traceback entry that lead
to the exception of a traceback.
def getcrashentry(self):
origin: code.Traceback
where:
function source:
def getcrashentry(self):
""" return last non-hidden traceback entry that lead
to the exception of a traceback.
"""
tb = self.filter()
if not tb:
tb = self
return tb[-1]
called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_excinfo.py
traceback code.Traceback.getcrashentry.0
called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_excinfo.py