ruff
e45f23b0 - [red-knot] Class literal `__new__` function callable subtyping (#17533)

Commit
163 days ago
[red-knot] Class literal `__new__` function callable subtyping (#17533) ## Summary From https://typing.python.org/en/latest/spec/constructors.html#converting-a-constructor-to-callable this covers step 2 and partially step 3 (always respecting the `__new__`) ## Test Plan Update is_subtype_of.md --------- Co-authored-by: Carl Meyer <carl@astral.sh>
Author
Parents
Loading