def __init__(self, addr):
        """Instantiate object.

        @param addr: dotted-quad ip address string
        """
        
        self.mask = 32                  # to help uniform handling of subnets
        self._binmask = MAX_IPV4_ADDR

        self.numeric = quad_to_dec(addr)
        self.string = addr
Instantiate object.

        @param addr: dotted-quad ip address string
        
recipes/Python/440560_IPv4AddressNetwork_class/recipe-440560.py