PyDocs

Nav

Python Runtime Services

type.__firstlineno__

builtins

attribute of type
The line number of the first line of the class definition, including decorators. Setting the __module__ attribute removes the __firstlineno__ item from the type’s dictionary. Added in version 3.13.
0 Examples
No examples for builtins/type.__firstlineno__.
See Also
No see-alsos for builtins/type.__firstlineno__
0 Notes
No notes for type.__firstlineno__