PageRenderTime 74ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/examples/dynamictable/Professor.py

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