def __repr__(self):
    return ('CAddress(nServices=%i net=%s addr=%s port=%i)' % (self.nServices, self.ADDRV2_NET_NAME[self.net], self.ip, self.port))
def __repr__(self):
    return ('CAddress(nServices=%i net=%s addr=%s port=%i)' % (self.nServices, self.ADDRV2_NET_NAME[self.net], self.ip, self.port))