Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ func
Method
func
Lib/operator.py:256–259 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
254
self._attrs = (attr,)
255
names = attr.split(
'.'
)
256
def
func(obj):
257
for
name in names:
258
obj = getattr(obj, name)
259
return
obj
260
self._call = func
261
else
:
262
self._attrs = (attr,) + attrs
Callers
4
__call__
Method · 0.45
_method
Method · 0.45
__get__
Method · 0.45
__call__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected