circuitpython/tests/basics/subscr_tuple.py
2025-06-08 19:23:05 -04:00

7 lines
147 B
Python

# CIRCUITPY-CHANGE: micropython does not have this test file
# subscripting a subclassed tuple
class Foo(tuple):
pass
foo = Foo((1,2))
foo[0]