Message222486
Should the Python 2.7 delegation of `round` to `__float__` for its input also be described as part of this issue?
>>> class A(object):
... def __float__(self): return 1729.1
...
>>> round(A())
1729.0 |
|
Date |
User |
Action |
Args |
2014-07-07 18:05:31 | mark.dickinson | set | recipients:
+ mark.dickinson, belopolsky, eric.araujo, docs@python, andymaier |
2014-07-07 18:05:31 | mark.dickinson | set | messageid: <1404756331.52.0.918973864933.issue10289@psf.upfronthosting.co.za> |
2014-07-07 18:05:31 | mark.dickinson | link | issue10289 messages |
2014-07-07 18:05:31 | mark.dickinson | create | |
|