code: def clear(*objects_to_clear):
      
      if not hasattr(_thread_local_data, 'current_space'):
          return
  
      space = current_space()
      for obj in objects_to_clear:
          space.clear(obj)
docs: Clears allowances/expectations on objects
  
      :param object objects_to_clear: The objects to remove allowances and
      expectations from.