

def TInstanceOf(cls):
    'Checks if a given value is an instance of C{cls}.\n\n  @type cls: class\n  @param cls: Class object\n\n  '
    name = ('%s.%s' % (cls.__module__, cls.__name__))
    desc = WithDesc(('Instance of %s' % (Parens(name),)))
    return cls((lambda val: isinstance(val, cls)))

dataset/ETHPy150Open ganeti/ganeti/lib/ht.py TInstanceOf/VarMisuse@46/117 `desc`->`cls`