code: def slots(self):
          
          if self.implied:
              return ()
  
          data = clips.data.DataObject(self._env)
  
          lib.EnvDeftemplateSlotNames(self._env, self._tpl, data.byref)
  
          return tuple(
              TemplateSlot(self._env, self._tpl, n.encode()) for n in data.value)
docs: Iterate over the Slots of the Template.