circuitpython/tests/basics/subscr_tuple.py
Diego Elio Pettenò dd5d7c86d2 Fix up end of file and trailing whitespace.
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-06-03 10:56:35 +01:00

7 lines
86 B
Python

# subscripting a subclassed tuple
class Foo(tuple):
pass
foo = Foo((1,2))
foo[0]