Add test for issue #2465 - tuple subsclass subscript
This commit is contained in:
parent
d7c6d9cabd
commit
2cb8f7b2df
7
tests/basics/subscr_tuple.py
Normal file
7
tests/basics/subscr_tuple.py
Normal file
@ -0,0 +1,7 @@
|
||||
# subscripting a subclassed tuple
|
||||
class Foo(tuple):
|
||||
pass
|
||||
|
||||
foo = Foo((1,2))
|
||||
foo[0]
|
||||
|
Loading…
Reference in New Issue
Block a user