ruff/crates/ty_python_semantic/resources/mdtest/subscript
David Peter bbfcf6e111
[ty] `__class_getitem__` is a classmethod (#20192)
## Summary

`__class_getitem__` is [implicitly a
classmethod](https://docs.python.org/3/reference/datamodel.html#object.__class_getitem__).

## Test Plan

Added regression test.
2025-09-01 11:22:19 +02:00
..
bytes.md [ty] Integer indexing into `bytes` returns `int` (#18218) 2025-05-20 16:44:12 +02:00
class.md [ty] `__class_getitem__` is a classmethod (#20192) 2025-09-01 11:22:19 +02:00
instance.md [ty] Support `__setitem__` and improve `__getitem__` related diagnostics (#19578) 2025-08-01 09:23:27 +02:00
lists.md [ty] Infer slightly more precise types for comprehensions (#20111) 2025-08-27 13:21:47 +01:00
stepsize_zero.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
string.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
tuple.md [ty] Improve `sys.version_info` special casing (#19894) 2025-08-13 14:39:13 +01:00