MCPcopy Index your code
hub / github.com/python/cpython / __reduce__

Method __reduce__

Lib/test/test_concurrent_futures/test_deadlock.py:82–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80class ErrorAtPickle(object):
81 """Bad object that triggers an error at pickling time."""
82 def __reduce__(self):
83 from pickle import PicklingError
84 raise PicklingError("Error in pickle")
85
86
87class ErrorAtUnpickle(object):

Callers

nothing calls this directly

Calls 1

PicklingErrorClass · 0.90

Tested by

no test coverage detected