[Python-3000] Rounding in Py3k (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 4 11:24:26 CEST 2006


Ron Adam wrote:

I'm still not sure why "round" should be preferred in place of "round" as a method name. There isn't an operator associated to rounding so wouldn't the method name not have underscores?

I was thinking there would be functions such as round(), trunc(), etc. that use round to do their work. That's why I called it a protocol and not just a method.

-- Greg



More information about the Python-3000 mailing list