Lichen

Change of tests/swap.py

508:6d062b05c250
tests/swap.py
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tests/swap.py	Tue Jan 24 19:10:31 2017 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +class C:
     1.5 +    a = 1; b = 2; c = 3
     1.6 +
     1.7 +print C.a, C.b, C.c                     # 1 2 3
     1.8 +C.a, C.b, C.c = C.c, C.b, C.a
     1.9 +print C.a, C.b, C.c                     # 3 2 1
    1.10 +
    1.11 +D = C
    1.12 +C.a, C.b, C.c = D.c, D.b, D.a
    1.13 +print C.a, C.b, C.c                     # 1 2 3