mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-23 09:18:44 +08:00
2a115b1714
This contradicts CPython, in `Lib/numbers.py`, because `Real` does not actually inherit from `SupportsFloat`. But it suppresses errors from mypy when passing sub-classes like `fractions.Fraction` to `float()`.