code: def getaddrlist(self):
          
          result = []
          ad = self.getaddress()
          while ad:
              result += ad
              ad = self.getaddress()
          return result
docs: Parse all addresses.
  
          Returns a list containing all of the addresses.