Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ func
Method
func
tools/python-3.11.9-amd64/Lib/operator.py:248–251 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
246
self._attrs = (attr,)
247
names = attr.split(
'.'
)
248
def
func(obj):
249
for
name in names:
250
obj = getattr(obj, name)
251
return
obj
252
self._call = func
253
else
:
254
self._attrs = (attr,) + attrs
Callers
4
__call__
Method · 0.45
_method
Method · 0.45
__get__
Method · 0.45
__call__
Method · 0.45
Calls
2
tuple
Class · 0.85
getter
Function · 0.50
Tested by
no test coverage detected