[issue42010] Generic types accept indexing/subscripting, causing confusion
Ken Jin
report at bugs.python.org
Mon Oct 12 04:49:53 EDT 2020
Ken Jin <kenjin4096 at gmail.com> added the comment:
I'd like to clarify the following too, currently:
(1)
>>> list[1]
list[1]
(2)
>>> list[1, 2, 3]
list[1, 2, 3]
The PR only solves (1) and not (2), is (2) intended behavior?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42010>
_______________________________________
More information about the Python-bugs-list
mailing list