[ty] Rename non-subscriptable error code to not-subscriptable (#22193)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
```py
|
||||
class NotSubscriptable: ...
|
||||
|
||||
a = NotSubscriptable()[0] # error: [non-subscriptable]
|
||||
a = NotSubscriptable()[0] # error: [not-subscriptable]
|
||||
```
|
||||
|
||||
## `__getitem__` not callable
|
||||
|
||||
Reference in New Issue
Block a user