ast.NodeDebugInfo

The node debug info class contains debugging information to be used from python or from the error handler. It can be obtained from an instance of a node class

.file (str)

Returns the filename this debug info contains.

.line (int)

Returns the line number this debug info contains.