circuitpython/tests/basics/subscr_tuple.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
86 B
Python
Raw Normal View History

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