int('2.1') does not work while int(float('2.1')) does

Raymond Hettinger python at rcn.com
Tue Apr 6 20:12:37 EDT 2004


My vote for QOTW:

>    You could argue that unit testing, the universal solvent,
> would clean up this too.


Raymond



More information about the Python-list mailing list