def _pickle__CustomPickled(cp):
    """standard pickling for `_CustomPickled`.

    Uses `NumbaPickler` to dump.
    """
    serialized = dumps((cp.ctor, cp.states))
    return _unpickle__CustomPickled, (serialized,)
standard pickling for `_CustomPickled`.

    Uses `NumbaPickler` to dump.
    
numba/core/serialize.py