1.1 --- a/tests/assign_sequence.py Sat Nov 26 00:56:00 2016 +0100
1.2 +++ b/tests/assign_sequence.py Sat Nov 26 01:25:26 2016 +0100
1.3 @@ -3,9 +3,9 @@
1.4 x = l
1.5 a, b, c = l
1.6 d, e, f = [1, 2, 3]
1.7 - print a, b, c
1.8 - print d, e, f
1.9 - print x
1.10 + print a, b, c # 1, 2, 3
1.11 + print d, e, f # 1, 2, 3
1.12 + print x # [1, 2, 3]
1.13
1.14 def g(x):
1.15 l = [1, 2, 3]
1.16 @@ -17,19 +17,19 @@
1.17 print n
1.18
1.19 f()
1.20 -g(0)
1.21 -g(1)
1.22 +g(0) # [4, [1, 2, 3], 6]
1.23 +g(1) # [1, 2, 3]
1.24
1.25 l = [1, 2, 3]
1.26 x = l
1.27 a, b, c = l
1.28 d, e, f = [1, 2, 3]
1.29 -print a, b, c
1.30 -print d, e, f
1.31 -print x
1.32 +print a, b, c # 1, 2, 3
1.33 +print d, e, f # 1, 2, 3
1.34 +print x # [1, 2, 3]
1.35 m = [4, l, 6]
1.36 if x:
1.37 n = l
1.38 else:
1.39 n = m
1.40 -print n
1.41 +print n # [1, 2, 3]