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."""
          if isinstance(self.klass, str):
              klass = self.klass
          else:
              klass = self.klass.__module__ + '.' + self.klass.__name__
          result = "a subclass of '%s'" % klass
          if self.allow_none:
              return result + ' or None'
          return result
function_tokens: def info ( self ) : if isinstance ( self . klass , str ) : klass = self . klass else : klass = self . klass . __module__ + '.' + self . klass . __name__ result = "a subclass of '%s'" % klass if self . allow_none : return result + ' or None' return result