MCPcopy Create free account
hub / github.com/cloudpipe/cloudpickle / __getattr__

Method __getattr__

tests/cloudpickle_test.py:167–168  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

165 def test_attrgetter(self):
166 class C:
167 def __getattr__(self, item):
168 return item
169
170 d = C()
171 getter = attrgetter("a")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected