Kirby Urner wrote:

>class Shell:
>
>       def __init__(ghost):
>               pass
>
>       def __repr__(ghost):
>               return 'What famous Japanese cartoon?'
>
>OK that was easy.  So how about:
>
>class Shell (object):
>
>       def __init__(ghost):
>               pass
>
>       def __repr__(ghost):
>               return 'What famous Japanimation?'
>
>Hint:  think "new-style class."
>
>  
>
Is it that new-style classes are to old-style classes what animation is 
to old-style cartoons ?
--
Grégoire


PS: this mailing list is really deviating from "Python in/for education".


_______________________________________________
Edu-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to