def _unpickle__CustomPickled(serialized):
    """standard unpickling for `_CustomPickled`.

    Uses `NumbaPickler` to load.
    """
    ctor, states = loads(serialized)
    return _CustomPickled(ctor, states)
standard unpickling for `_CustomPickled`.

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