On Sat, Feb 20, 2010 at 12:50 PM, Alan Harris-Reid
<aharrisr...@googlemail.com> wrote:
> Hi,
>
> I am having trouble understanding how superclass calls work.  Here's some
> code...
>
> class ParentClass():
>   def __init__(self):
>       do something here

You should inherit object to use super():
class ParentClass(object):

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to