ruff
3aa7ba31 - [red-knot] Fix descriptor `__get__` call on class objects (#16304)

Commit
295 days ago
[red-knot] Fix descriptor `__get__` call on class objects (#16304) ## Summary I spotted a minor mistake in my descriptor protocol implementation where `C.descriptor` would pass the meta type (`type`) of the type of `C` (`Literal[C]`) as the owner argument to `__get__`, instead of passing `Literal[C]` directly. ## Test Plan New test.
Author
Parents
Loading