[issue35707] time.sleep() should support objects with __float__

Jeroen Demeyer report at bugs.python.org
Mon Jan 21 06:22:58 EST 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

In other words: if we can only use __float__ and __int__, how do we know which one to use?

----------

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


More information about the Python-bugs-list mailing list