code: def subclasses(self, inherited=False):
          
          data = clips.data.DataObject(self._env)
  
          lib.EnvClassSubclasses(self._env, self._cls, data.byref, int(inherited))
  
          for klass in classes(self._env, data.value):
              yield klass
docs: Iterate over the subclasses of the class.
  
          This function is the Python equivalent
          of the CLIPS class-subclasses command.