

def _parse_address(address):
    if (':' in address):
        (host, port) = address.split(':')
        return [Address(host, int(port))]
    return [Address(address, p) for p in xrange(DEFAULT_PORT, (DEFAULT_PORT + 3))]

dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/util.py _parse_address/original