[Tutor] Numbers do support __str__() in recent versions of Python
Daniel Ehrenberg
littledanehren at yahoo.com
Sat Nov 22 17:47:50 EST 2003
--- Danny Yoo wrote:
> Numbers do support __str__(). Again, my apologies
> for giving totally off
> advice. I think I need a vacation... *grin*
>
>
> Good luck!
I think you're supposed to do str(number) instead of
(number).__str__()
Daniel Ehrenberg
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
More information about the Tutor
mailing list