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

Function _classmethod_reduce

cloudpickle/cloudpickle.py:962–964  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

960
961
962def _classmethod_reduce(obj):
963 orig_func = obj.__func__
964 return type(obj), (orig_func,)
965
966
967def _file_reduce(obj):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected