maxon.MAXON_SOURCE_LOCATION

maxon.MAXON_SOURCE_LOCATION(offset=0)

Creates a SourceLocation object for the current Python Frame.

Parameters

offset (Optional[int])) – Optional trace back offset to retrieve the current source location from.

Returns

The source location corresponding to the Python frame calling this function.

Return type

maxon.SourceLocation