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

Method __getattr__

tests/cloudpickle_test.py:1546–1549  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

1544
1545 class FaultyModule(base_class):
1546 def __getattr__(self, name):
1547 # This throws an exception while looking up within
1548 # pickle.whichmodule or getattr(module, name, None)
1549 raise Exception()
1550
1551 class Foo:
1552 __module__ = module_name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected