diff --git a/notes.py b/notes.py deleted file mode 100644 index a4b123e5e7ebd16bfa45f2f47a9c1cf734653989..0000000000000000000000000000000000000000 --- a/notes.py +++ /dev/null @@ -1,29 +0,0 @@ -class Visit(object): - def __init__(self): - self.notes = [] - - def add_note(self, note): - self.notes.append(note) - - -class Appointment(object): - def __init__(self): - self.note = None - - def add_note(self, note): - self.note = note - - -def void(event): - event.add_note('Voided.') - - -if __name__ == '__main__': - visit = Visit() - appointment = Appointment() - number = 7 - void(visit) - print(visit.notes) - void(appointment) - print(appointment.note) - void(number)