Next / Previous / Contents / Shipman's homepage

8.3. DayNotes.addLoc()

This method delegates to Section 9.3, “DaySummary.addLoc(): Add a location definition” to satisfy the Law of Demeter.

birdnotes.py
# - - -   D a y N o t e s . a d d L o c

    def addLoc(self, loc):
        '''Add a new location.
        '''
        self.daySummary.addLoc(loc)