Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ visit_set_attr
Method
visit_set_attr
mypyc/transform/ir_transform.py:141–142 ·
view source on GitHub ↗
(self, op: SetAttr)
Source
from the content-addressed store, hash-verified
139
return
self.add(op)
140
141
def
visit_set_attr(self, op: SetAttr) -> Value | None:
142
return
self.add(op)
143
144
def
visit_load_static(self, op: LoadStatic) -> Value | None:
145
return
self.add(op)
Callers
nothing calls this directly
Calls
1
add
Method · 0.95
Tested by
no test coverage detected