[issue44547] fraction.Fraction does not implement __int__.

Mark Dickinson report at bugs.python.org
Fri Jul 2 07:44:49 EDT 2021


Mark Dickinson <dickinsm at gmail.com> added the comment:

> Maybe typing.SupportsIndex

Apologies: that already exists, of course. It was introduced in #36972.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44547>
_______________________________________


More information about the Python-bugs-list mailing list