class foo(object): def __init__(self): self.i = 1 k = 0