]> granicus.if.org Git - python/commit
Fix math.ceil() and math.floor() to fall back to __ceil__ and __floor__
authorGuido van Rossum <guido@python.org>
Thu, 23 Aug 2007 22:56:55 +0000 (22:56 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 23 Aug 2007 22:56:55 +0000 (22:56 +0000)
commit13e05de9efe75f1e645c36ffc4833d2b31d437de
tree190fdd972903cbd4074fa77745e598706cea087b
parent2fa33db12b8cb6ec1dd1b87df6911e311d98457b
Fix math.ceil() and math.floor() to fall back to __ceil__ and __floor__
methods (respectively).  With Keir Mierle.
Lib/test/test_math.py
Modules/mathmodule.c