◐ Shell
clean mode source ↗

gh-118465: Add __firstlineno__ attribute to class by serhiy-storchaka · Pull Request #118475 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

It is set by compiler with the line number of the first line of
the class definition.

markshannon

iritkatriel

Co-authored-by: Mark Shannon <mark@hotpy.org>

serhiy-storchaka

JelleZijlstra

SonicField pushed a commit to SonicField/cpython that referenced this pull request

May 8, 2024
)

It is set by compiler with the line number of the first line of
the class definition.