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."
Kirby
_______________________________________________
Edu-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/edu-sig
