Python documentation available as ZIP files
Les Schaffer
godzilla at netmeg.net
Fri Jul 23 19:38:22 EDT 1999
> I agree with you. But shouldn't that be "print self.smile" ? I got
> a NameError when I tried to run your code ;-)
damn, i cant even tell a joke without screwing up the punchline!
> But seriously, this is a mistake I've seen a lot of people make with
> class variables, just want to make sure we don't spread around any
> misconceptions.
unfortunately, i didnt -- ahem -- test the class before posting. shame
on me.
actually, i thought the interpreter would crash on the '$' in $0.02. i
figured the dollar sign wouldnt have been allowed. shows ya what i
know.
happy weekend everyone!
les
--
____ Les Schaffer ___| --->> Engineering R&D <<---
Theoretical & Applied Mechanics | Designspring, Inc.
Center for Radiophysics & Space Research | http://www.designspring.com/
Cornell Univ. schaffer at tam.cornell.edu | les at designspring.com
More information about the Python-list
mailing list