Parse::StackTrace::Type::Python::Frame - A frame from a Python stack trace
This is an implementation of Parse::StackTrace::Frame.
Python frames always have a
Most frames also have a
If they don't,
function will be an empty string.
Every frame should have
though there's always a chance that we're parsing an incomplete traceback,
in which case
code will be
There is also an extra accessor for Python frames called
If this trace is because of a SyntaxError,
then this is an integer indicating what character (starting from 0) in the
code Python thinks the syntax error starts at.