def subclasses(self, inherited=False):
data = clips.data.DataObject(self._env)<EOL>lib.EnvClassSubclasses(self._env, self._cls, data.byref, int(inherited))<EOL>for klass in classes(self._env, data.value):<EOL><INDENT>yield klass<EOL><DEDENT>
Iterate over the subclasses of the class.

        This function is the Python equivalent
        of the CLIPS class-subclasses command.