Bizarre floating-point output

Nick Maclaren nmm1 at cus.cam.ac.uk
Mon Jan 8 09:35:42 EST 2007


In article <entj5d$o4$1 at south.jnrs.ja.net>,
"Richard Brodie" <R.Brodie at rl.ac.uk> writes:
|> 
|> When you do print on a tuple it doesn't recursively
|> call str(), so you get the repr representations.

Ah!  That explains it.  I would call that reason intermediate
between rational and an artifact of the way the code has evolved!


Regards,
Nick Maclaren.



More information about the Python-list mailing list