Stuff
public text v1 · immutable#!/usr/bin/env python
class UI:
def __init__(self, tree):
self.x = 4
class 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.x
if __name__ == "__main__":
PlayerUI()
Test()