Variable 'superclass'es?
Zigron
zigron at jps.net
Thu May 6 20:21:22 EDT 1999
I think the word is 'superclass'..hm. Anyways.
What I want is a class, that inherits from a variable class.
For instance:
_Parent = ParentClass1
class FirstParent:
...
class SecondParent:
...
class Child(_Parent):
...
class Invoker:
def __init__(self):
if expression = 1:
_Parent = SecondParent
kid = Child()
---------
Seeeeee what i'm trying to do? Can it be done?
--Stephen
More information about the Python-list
mailing list