Thursday, February 17, 2011

Python super method and calling alternatives

Programmer Question

I see everywhere examples that super-class methods should be called by:



super(SuperClass, instance).method(args)


Is there any disadvantage to doing:



SuperClass.method(instance, args)


TIA, Ian



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails