These are chat archives for ipython/ipython
onceversion of the
Callableclass for traitlets?
class Callable(TraitType): """A trait which is callable. Note that classes are callable, as are instances with a __call__() method.""" info_text = 'a callable' def validate(self, obj, value): if six.callable(value): return value else: self.error(obj, value)
callableis available on every Python we support. No need for six.