Mine
public python v1 · immutable#!/usr/bin/env pythonclass UI: def __init__(self, tree): self.x = 4class PlayerUI(UI): def __init__(self, tree=None): UI.__init__(self, tree)class Test(UI): def __init__(self): # Neither of these work.. #print self.x print UI.xif __name__ == "__main__": PlayerUI() Test()