How about adding rational fraction to Python?

Paul Rubin http
Thu Feb 28 15:25:14 EST 2008


"D'Arcy J.M. Cain" <darcy at druid.net> writes:
> > I'd like to point out that now you are talking about int OP int
> > returning a tuple, not an int.
> 
> Which would be stupid.  Good thing I don't think that "obvious" should
> be the criteria.

We already have that function (divmod) and it is very useful.



More information about the Python-list mailing list