parameters: (self)
return_statement: return result
docstring: Returns a description of the trait.
docstring_summary: Returns a description of the trait.
docstring_tokens: Returns a description of the trait .
function: def info(self):
          """Returns a description of the trait."""
          result = "a subclass of "
          for klass in self.klasses:
              if not isinstance(klass, str):
                  klass = klass.__module__ + '.' + klass.__name__
              result += f"{klass} or "
          # Strip the last "or"
          result = result.strip(" or ")
          if self.allow_none:
              return result + ' or None'
          return result
function_tokens: def info ( self ) : result = "a subclass of " for klass in self . klasses : if not isinstance ( klass , str ) : klass = klass . __module__ + '.' + klass . __name__ result += f"{klass} or " # Strip the last "or" result = result . strip ( " or " ) if self . allow_none : return result + ' or None' return result