tests/logical_attr.py | raw changeset files shortlog |
1.1 --- a/tests/logical_attr.py Sat Nov 25 01:36:18 2006 +0100 1.2 +++ b/tests/logical_attr.py Sat Nov 25 03:07:54 2006 +0100 1.3 @@ -6,5 +6,7 @@ 1.4 b = 3.0 1.5 class C: 1.6 c = 4 1.7 -a = X() and Y() or B() and not C() 1.8 +class D(X): 1.9 + y = True 1.10 +a = X() and Y() or B() and not C() or D() 1.11 b = a.x and a.y or a.b and not a.c