PageRenderTime 29ms CodeModel.GetById 27ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/examples/dynamictable/Student.py

http://pyjamas.googlecode.com/
Python | 13 lines | 9 code | 4 blank | 0 comment | 0 complexity | 5aa7797bec421bb7403720b242ca30ea MD5 | raw file
 1from Schedule import Schedule
 2from Person import Person
 3
 4class Student(Person):
 5
 6    def __init__(self):
 7        self.classSchedule = Schedule()
 8
 9    def getSchedule(self, daysFilter):
10        return self.classSchedule.getDescription(daysFilter)
11    
12    def getClassSchedule(self):
13        return self.classSchedule