[ty] Rename non-subscriptable error code to not-subscriptable (#22193)

This commit is contained in:
Simon Lamon
2025-12-27 12:44:35 +01:00
committed by GitHub
parent da188d5cf6
commit c032e27566
17 changed files with 112 additions and 112 deletions

View File

@@ -7,7 +7,7 @@
```py
class NotSubscriptable: ...
a = NotSubscriptable()[0] # error: [non-subscriptable]
a = NotSubscriptable()[0] # error: [not-subscriptable]
```
## `__getitem__` not callable