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 mention and I agree.
Should have post
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",
Toufeeq Hussain wrote:
> My coding is really really bad,that's why I changed the names to more human
> readable form(Module1,2.. etc).
the problem is that when you do that (and post using a tool that's not
smart enough to preserve leading whitespace), anyone who wants to help
will basically have
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_case.py", line 7, in ?
>TH = constraint.Option1_Ru
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_case.py", line 7, in ?
>TH = constraint.Option1_Rule1()
there's no line that says "TH = constraint.Option1_
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) :