Technical notes, my online memory
Sunday, August 15, 2010
HOWTO call a python superclass method
Use the python 'super' method to call a superclass __init__:
class Foo(Bar): def __init__(self): super(Foo, self).__init__()
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment