def cidr_exclude(target, exclude):
    left, _, right = cidr_partition(target, exclude)

    return left + right
Removes an exclude IP address or subnet from target IP subnet.
dataset/ETHPy150Open drkjam/netaddr/netaddr/ip/__init__.py/cidr_exclude