(cls)
Make the given class un-picklable.
Make the given class un-picklable.
Make the given class un - picklable .
def _make_class_unpicklable(cls):
    """
    Make the given class un-picklable.
    """
    def _break_on_call_reduce(self, proto):
        raise TypeError('%r cannot be pickled' % self)
    cls.__reduce_ex__ = _break_on_call_reduce
    cls.__module__ = '<unknown>'
def _make_class_unpicklable ( cls ) : def _break_on_call_reduce ( self , proto ) : raise TypeError ( '%r cannot be pickled' % self ) cls . __reduce_ex__ = _break_on_call_reduce cls . __module__ = '<unknown>'