mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-27 18:36:35 +00:00
## Summary Fixes a bug observed by @AlexWaygood where `C[Any] <: C[object]` should hold for a class that is covariant in its type parameter (and similar subtyping relations involving dynamic types for other variance configurations). ## Test Plan New and updated Markdown tests |
||
|---|---|---|
| .. | ||
| aliases.md | ||
| classes.md | ||
| functions.md | ||
| variables.md | ||
| variance.md | ||