code: def accept(self, addr):
          
  
          # Add the address to the set
          ip_addr = _parse_ip(addr)
          if ip_addr is None:
              LOG.warn("Cannot add address %r to proxy %s: "
                       "invalid address" % (addr, self.address))
          else:
              self.accepted.add(addr)
docs: Add an address to the set of addresses this proxy is permitted
          to introduce.
  
          :param addr: The address to add.