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
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to