tests/compare.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/compare.py Sun Aug 17 02:58:28 2008 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +a = 1 1.7 +b = 2 1.8 +c = 3 1.9 + 1.10 +class X: 1.11 + def __contains__(self, other): 1.12 + return 1 1.13 + 1.14 +a < b < c 1.15 + 1.16 +x = X() 1.17 + 1.18 +a == x != b 1.19 +a is x is not b 1.20 +a in x 1.21 + 1.22 +# vim: tabstop=4 expandtab shiftwidth=4