docstr: Only allow safe classes from builtins
docstr_tok: ["Only","allow","safe","classes","from","builtins"]
code: def find_class(self, module, name):
      """Only allow safe classes from builtins"""
      package_name = module.split(".")[0]
      if package_name in safe_modules:
          return super().find_class(module, name)
      else:
          # Forbid everything else
          raise pickle.UnpicklingError(
              "global '%s.%s' is forbidden" % (module, name)
          )
  
imports: import logging
  from six.moves import cPickle
  import io
label_desc: Use image node_id 1 for calling the RestrictedUnpickler obj's underlying member method code with example usage: obj.find_class(module, name) and returns: super