Lines Matching refs:cant
3055 def cant(x, C):
3068 cant(C(), list)
3069 cant(list(), C)
3070 cant(C(), 1)
3071 cant(C(), object)
3072 cant(object(), list)
3073 cant(list(), object)
3075 cant(2, Int)
3076 cant(Int(), int)
3077 cant(True, int)
3078 cant(2, bool)
3080 cant(o, type(1))
3081 cant(o, type(None))
3127 cant(cls(), cls2)
3145 def cant(x, dict):
3152 cant(a, None)
3153 cant(a, [])
3154 cant(a, 1)
3163 cant(x, {})