Help needed in OOP-Python

2005-10-04 Thread Toufeeq Hussain
Hello gurus, Python n00b here trying to learn some OOP-Python.Here's my problem. I have 3 modules which have class declarations in them and which implement multiple inheritance. Module1 class OptionClass:     def __init__ (self,name,ORSpecNumber,AltToItselfStart,AltToItselfEnd) :       

Re: Help needed in OOP-Python

2005-10-04 Thread Toufeeq Hussain
Hi Fredrik,On 10/5/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: Toufeeq Hussain wrote:> I have 3 modules which have class declarations in them and which implement> multiple inheritance.> Traceback (most recent call last):> File "E:\PyPBM\PyPBM\test_cas

Re: Help needed in OOP-Python

2005-10-05 Thread Toufeeq Hussain
Fredrik, sigh! I see the problem you mention and I agree. Should have posted the orginal code without edits. :( Anyway I'll try to fill in whereever required.On 10/5/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: $ python test.pycondition satisfiedTraceback (most recent call last):   File "test.py",

Re: Help needed in OOP-Python

2005-10-05 Thread Toufeeq Hussain
Thanks Fredrik. Went through the code to make sure "self" was used properly and one of the parent classes was missing a "self".It's fixed now. /me kicks self -toufeeqOn 10/5/05, Toufeeq Hussain <[EMAIL PROTECTED]> wrote: Fredrik, sigh! I see the problem you m