Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ firstlineno
Method
firstlineno
src/_pytest/_code/code.py:79–80 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
77
78
@property
79
def
firstlineno(self) -> int:
80
return
self.raw.co_firstlineno - 1
81
82
@property
83
def
name(self) -> str:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected