tests/tuple.py | raw changeset files shortlog |
1.1 --- a/tests/tuple.py Mon Jul 02 17:53:15 2018 +0200 1.2 +++ b/tests/tuple.py Mon Jul 02 19:19:54 2018 +0200 1.3 @@ -23,3 +23,11 @@ 1.4 print t[-5] # should raise an exception 1.5 except IndexError, exc: 1.6 print "t[-5]: failed with argument", exc.index 1.7 + 1.8 +a, b, c, d = l 1.9 +print a, b, c, d # 1 2 3 "four" 1.10 + 1.11 +try: 1.12 + a, b, c = l 1.13 +except ValueError, exc: 1.14 + print "a, b, c = l: failed with length", exc.value