PageRenderTime 218ms CodeModel.GetById 101ms app.highlight 1ms RepoModel.GetById 115ms app.codeStats 0ms

/pyjs/tests/test004.py

http://pyjamas.googlecode.com/
Python | 14 lines | 8 code | 6 blank | 0 comment | 0 complexity | 5f7ad8e5d0cb9bf53cb6c2addb8363d3 MD5 | raw file
 1class UIObject:
 2
 3    def setElement(self, element):
 4        self.element = element
 5
 6
 7class Widget(UIObject):
 8    pass
 9
10
11class FocusWidget(Widget):
12
13    def __init__(self, element):
14        self.setElement(element)