Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.508 kB
from Person import Person
from Schedule import Schedule
class Professor(Person):
def __init__(self, teachingSchedule=None, **kwargs):
Person.__init__(self, **kwargs)
if teachingSchedule is None:
self.teachingSchedule = Schedule()
else:
self.teachingSchedule = teachingSchedule
def getSchedule(self, daysFilter):
return self.teachingSchedule.getDescription(daysFilter)
def getTeachingSchedule(self):
return self.teachingSchedule
Jump to Line
Something went wrong with that request. Please try again.