Next / Previous / Contents / Shipman's homepage

16.2. SightNotes.addPhoto()

Instances of class Photo are accumulated in the self._photoList list each time this method is called.

birdnotes.py
# - - -   S i g h t N o t e s . a d d P h o t o

    def addPhoto(self, photo):
        """Add one photo reference.
        """
        self._photoList.append(photo)