github.phpd.cn/thought-machine/please@v12.2.0+incompatible/src/parse/asp/test_data/interpreter/equality.build (about) 1 # Bools are singletons so 'is' works as expected 2 x = True 3 y = True 4 z = False 5 6 a = x == y 7 b = x is y 8 c = x == z 9 d = x is z 10 11 # Ints aren't. 12 x = 1 13 y = 1 14 z = 2 15 16 e = x == y 17 f = x is y 18 g = x == z