[Python 3.9 compat] type is now subscriptable. #3950
Labels
Blocker 🙅
Blocks the next release
Bug 🪲
False Positive 🦟
A message is emitted but nothing is wrong with the code
python 3.9
Since Python 3.9,
type
is made subscriptable by Objects/abstract.c (python/cpython@48b069a), to allow, for example,type[int]
.which give:
while the code works.
Related to #3890.
See also #3882.
The text was updated successfully, but these errors were encountered: