class father: def __init__(self, param): self.o1 = param class child(father): def __init__(self, param): self.o2 = param obj = child(22)print "%d %d" % (obj.o1, obj.o2)
Not registered? Create an account
Forgot Password?
Already a registered user? Login