mirror of https://github.com/astral-sh/ruff
Fixed a TODO by adding another TODO. It's the red-knot way!
## Summary
`builtins.type` can be subscripted at runtime on Python 3.9+, even
though it has no `__class_getitem__` method and its metaclass (which
is... itself) has no `__getitem__` method. The special case is
[hardcoded directly into `PyObject_GetItem` in
CPython](
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||