You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`SupportsLessThan` was removed from `_typeshed` in python/typeshed#6583 and replaced with a new `SupportsRichComparison` type, which better reflects the types at runtime.
Fixespython#12355
We got rid of SupportsLessThan from _typeshed in python/typeshed#6583, because it wasn't doing a great job at describing the various types at runtime it was trying to describe. We replaced it with a new SupportsRichComparison type, which is a little more complicated, but does a much better job at describing the types at runtime.
`SupportsLessThan` was removed from `_typeshed` in
python/typeshed#6583 and replaced with
a new `SupportsRichComparison` type, which better reflects the
types at runtime.
Fixes#12355
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
The example of using
SupportsLessThan
in the documentation does not work in mypy 0.941 or 0.940.To Reproduce
https://mypy-play.net/?mypy=0.931&python=3.10&gist=6ad43abe09b33cd9dceea02d40c0224d
Works correctly on 0.931, but not 0.941 or 0.940.
The text was updated successfully, but these errors were encountered: