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

Method __init__

tests/cloudpickle_test.py:63–64  ·  view source on GitHub ↗
(self, exc)

Source from the content-addressed store, hash-verified

61
62class RaiserOnPickle:
63 def __init__(self, exc):
64 self.exc = exc
65
66 def __reduce__(self):
67 raise self.exc

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected