Re: [Zope-dev] 'inheritedAttribute' vs. 'call of superclass'

2001-02-28 Thread Dieter Maurer
Gregor Heine writes: > I have two Python classes, say A and B, where B subclasses A. > If I want to call a method in A from an overridden method in B I can either > use: > > B.inheritedAttribute('method_in_A')(self. *args) > or: > A.method_in_A (self, *args) > > Can anybody explain me t

Re: [Zope-dev] 'inheritedAttribute' vs. 'call of superclass'

2001-02-28 Thread Chris Withers
> I have two Python classes, say A and B, where B subclasses A. > If I want to call a method in A from an overridden method in B I can either > use: > > B.inheritedAttribute('method_in_A')(self. *args) > or: > A.method_in_A (self, *args) > > Can anybody explain me the differences between those two

[Zope-dev] 'inheritedAttribute' vs. 'call of superclass'

2001-02-27 Thread Gregor Heine
I have two Python classes, say A and B, where B subclasses A. If I want to call a method in A from an overridden method in B I can either use: B.inheritedAttribute('method_in_A')(self. *args) or: A.method_in_A (self, *args) Can anybody explain me the differences between those two, because the se