Files
RustPython/tests/snippets/tuple.py
Windel Bouwman 3575b2785c Merge pull request #43 from OddBloke/tuple_comparison
Enable tuple comparison
2018-08-06 16:46:19 +02:00

8 lines
77 B
Python

assert (1,2) == (1,2)
x = (1,2)
assert x[0] == 1
y = (1,)
assert y[0] == 1