PageRenderTime 26ms CodeModel.GetById 23ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1, Apache-2.0
  1. from Schedule import Schedule
  2. from Person import Person
  3. class Student(Person):
  4. def __init__(self):
  5. self.classSchedule = Schedule()
  6. def getSchedule(self, daysFilter):
  7. return self.classSchedule.getDescription(daysFilter)
  8. def getClassSchedule(self):
  9. return self.classSchedule