def info ( self ):
        klass = self.klass
        if not isinstance( klass, basestring ):
            klass = klass.__name__

        result = 'a subclass of ' + klass

        if self._allow_none:
            return result + ' or None'

        return result
Returns a description of the trait.
dataset/ETHPy150Open enthought/traits/traits/trait_types.py/Type.info