Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ __init__
Method
__init__
src/_pytest/_code/code.py:63–64 ·
view source on GitHub ↗
(self, obj: CodeType)
Source
from the content-addressed store, hash-verified
61
__slots__ = (
"raw"
,)
62
63
def
__init__(self, obj: CodeType) -> None:
64
self.raw = obj
65
66
@classmethod
67
def
from_function(cls, obj: object) -> Code:
Callers
2
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected