__future__ and __rdiv__

Duncan Booth duncan.booth at invalid.invalid
Mon Jan 23 03:39:24 EST 2012


Terry Reedy <tjreedy at udel.edu> wrote:

> But if you mean for Number to be like a float
> rather than int, do as you are (with / and __truediv__).
> 
Or even __rtruediv__


-- 
Duncan Booth http://kupuguy.blogspot.com



More information about the Python-list mailing list