fileinfo module#

Source code location tracking#

This module provides the FileInfo class for tracking where objects were created in the source code for debugging and cross referencing purposes.

class FileInfo(filename, line)[source]#

Bases: Property

Information about where an object was created in the source code.

Parameters:
filename: str#

The source file path.

line: int#

The line number in the source file.