Lines Matching refs:cant
3038 def cant(x, C):
3051 cant(C(), list)
3052 cant(list(), C)
3053 cant(C(), 1)
3054 cant(C(), object)
3055 cant(object(), list)
3056 cant(list(), object)
3058 cant(2, Int)
3059 cant(Int(), int)
3060 cant(True, int)
3061 cant(2, bool)
3063 cant(o, type(1))
3064 cant(o, type(None))
3110 cant(cls(), cls2)
3128 def cant(x, dict):
3135 cant(a, None)
3136 cant(a, [])
3137 cant(a, 1)
3146 cant(x, {})